1 module_test.module module_test_module_implements_alter(&$implementations, $hook)

Implements hook_module_implements_alter()

File

core/modules/simpletest/tests/module_test.module, line 141

Code

function module_test_module_implements_alter(&$implementations, $hook) {
  if ($hook === 'altered_test_hook') {
    // Add a hook implementation, that will be found in
    // module_test.implementations.inc.
    $implementations['module_test'] = 'implementations';
  }
}