[development] find the absolute order of hooks and modules?

Nathan Digriz nathandigriz at gmail.com
Wed Feb 22 18:59:36 UTC 2006


I am working in version 4.6 so yes, this is the information I was looking
for. Too bad about the hook information though as it is very important at
this stage. I'll see if Google is kinder to me.

On 2/22/06, Bèr Kessels <ber at webschuur.com> wrote:
>
> Op woensdag 22 februari 2006 18:01, schreef Moshe Weitzman:
> > in HEAD Drupal, this order can be customized via the system table. see
> > the weight column. module_list() uses that ordering for its hook
> > invocations.
>
> All versions previous to HEAD, indeed, use alphabetic ordering. Hence the
> fact
> some modules are called zz_foobar.module.
> It is safe to assume a single hook in <= 4.6 is thus called in alphabetic
> order.
> The order of the specific hooks (_init, _load etc) are, however, hardcoded
> and
> are poorly documented, exept on some external site. I do not recall the
> URL,
> nor does google :(
>
> Bèr
>
> --
> [ End user Drupal services and hosting | Sympal.nl ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060222/472e10d0/attachment-0001.htm


More information about the development mailing list