Re: [Coding style] Use hooks
Reply #15 –
I don't understand why you'd need to split up an array in to different files or even different functions. One hook changes everything since it is an array.
Re: [Coding style] Use hooks
Reply #16 –
Because each piece of the array belongs to different areas. No?
I mean, if all the sections of the admin area were addons, each addon would have its own set of hooks adding its piece of menu. I think.