function module_test_hook_info in Drupal 8
Same name and namespace in other branches
- 7 modules/simpletest/tests/module_test.module \module_test_hook_info()
- 9 core/modules/system/tests/modules/module_test/module_test.module \module_test_hook_info()
- 10 core/modules/system/tests/modules/module_test/module_test.module \module_test_hook_info()
Implements hook_hook_info().
File
- core/
modules/ system/ tests/ modules/ module_test/ module_test.module, line 62 - Test module.
Code
function module_test_hook_info() {
$hooks['test_hook'] = [
'group' => 'file',
];
return $hooks;
}