You are here

function module_test_hook_info in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/module_test/module_test.module \module_test_hook_info()
  2. 9 core/modules/system/tests/modules/module_test/module_test.module \module_test_hook_info()
  3. 10 core/modules/system/tests/modules/module_test/module_test.module \module_test_hook_info()

Implements hook_hook_info().

File

modules/simpletest/tests/module_test.module, line 60

Code

function module_test_hook_info() {
  $hooks['test_hook'] = array(
    'group' => 'file',
  );
  return $hooks;
}