[development] The new menu system
nevets at mailbag.com
Tue Sep 26 14:39:27 UTC 2006
Moshe Weitzman wrote
But we do have .install files now so my
proposal is that modules which require loading during bootstrap perform an
UPDATE system SET bootstrap=1 WHERE module=<foo> during their
I would suggest a function call instead of SQL, that way it is independent
of the implementation.
Something like drupal_load_during_bootstrap($flag = FALSE).
So a module that needs to be loaded during bootstrap would in the .install
file do a call like this
The only reason for the argument is if at some point in the when the module
is upgraded it
no longer needs to be loaded during bootstrap it can call the function with
a value of FALSE.
More information about the development