function module_test_hook_info

Same name in other branches
  1. 7.x modules/simpletest/tests/module_test.module \module_test_hook_info()
  2. 9 core/modules/system/tests/modules/module_test/module_test.module \module_test_hook_info()
  3. 8.9.x core/modules/system/tests/modules/module_test/module_test.module \module_test_hook_info()
  4. 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 64

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.