Hi All,

If I write 10 hook on a module file like : hook_menu, hook_boot, hook_init, hook_form_alter, hook_perm......... and so on

1st run hook is hook_boot OR hook_init.
Can any body tell me , which hook to be run in Last... and how we find out.... is there any priority in running the hook by Drupal...?????

Any help OR suggestion...????

thanks in advance

Jatin Garg

Comments

drupalnesia’s picture

Version: 6.x-2.9 » 7.x-1.x-dev
Issue summary: View changes

This is not related to Counter module, but I like to help you:
- hook_module_implements_alter

This hook is invoked during module_implements(). A module may implement this hook in order to reorder the implementing modules, which are otherwise ordered by the module's system weight.

drupalnesia’s picture

Status: Active » Closed (fixed)