drush mb foo module_implements_alter

gets me:

/**
* Implements hook_module_implements_alter().
*/
function foo_module_implements_alter(&$implementations, $foo) {

}

Comments

joachim’s picture

joachim’s picture

Turns 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']) . ' {';

joachim’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.