The magic hook

Posted by on Sep 25, 2014 in Drupal, PHP | No Comments

Sometime you whant to alter a form, a menus, or something else after OR before every other call of hook alter. To do that, you can of course play with the weight of the module, but there also a very convenient hook to do that : hook_module_implements_alter().

Here’s an exemple of how you can use this very usefull hook :