drush mb foo module_implements_alter
gets me:
/**
* Implements hook_module_implements_alter().
*/
function foo_module_implements_alter(&$implementations, $foo) {
}
drush mb foo module_implements_alter
gets me:
/**
* Implements hook_module_implements_alter().
*/
function foo_module_implements_alter(&$implementations, $foo) {
}
Comments
Comment #1
joachim commentedProbably due to the $hook?
See http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
Comment #2
joachim commentedTurns out this is rather naive now some hook names have 'hook' in the name or parameters:
$declaration = str_replace('hook', $module_data['module_root_name'], $hook['declaration']) . ' {';
Comment #3
joachim commented