Weights are not the solution? Re: [development] altering an alteredform

Adrian Rossouw adrian at bryght.com
Sat Jun 10 12:16:05 UTC 2006


On 09 Jun 2006, at 4:08 PM, Nedjo Rogers wrote:
> (Or, alternately, I suppose, these data could be coded into an  
> install metadata file.)
My solution to the problem involves separating out the menu system,  
and it's actual nature.. the callback system.

Thus allowing you to register multiple callbacks, of different types.

It should be able to pick up what hooks a module implements when it  
is enabled, and then keep a pre-sorted callback order.
(in the fapi callback format, preferably).

When it comes down to it, a hook is just an automatically registered  
callback. and the big problem with using a hook
over a registered callback, is you have no way to give extra  
information about it.


--
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com




More information about the development mailing list