function module_handler_test_hook_info

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module \module_handler_test_hook_info()
  2. 10 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module \module_handler_test_hook_info()
  3. 11.x 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 11

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.