function module_handler_test_hook_info

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module \module_handler_test_hook_info()
  2. 8.9.x core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module \module_handler_test_hook_info()
  3. 10 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module \module_handler_test_hook_info()

Implements hook_hook_info().

File

core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module, line 13

Code

function module_handler_test_hook_info() {
    return [
        'hook' => [
            'group' => 'hook',
        ],
    ];
}

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