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

Nathan Digriz nathandigriz at gmail.com
Wed Feb 22 19:27:00 UTC 2006


Not quite what I am doing but basically I need to know which hook fires
because the database processes have to be in a certain order otherwise table
and fields information may not exist and be called for in the process. I
thought that there may be some way of creating SQL on the fly also if this
order was known.

On 2/22/06, Theodore Serbinski <tss24 at cornell.edu> wrote:
>
> On 2/22/06, Moshe Weitzman <weitzman at tejasa.com> wrote:
> > 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.
>
> Is this configurable on any admin screens or only in the DB?
>
> I'm assuming if one develops a specific module that should run last it
> can have in it's hook_install() a query that sets it weight to 10 or
> something, right?
>
> ted
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060222/0719c643/attachment.htm


More information about the development mailing list