module_handler_test.module

Same filename in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module
  2. 10 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module
  3. 11.x core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module

Test module.

File

core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module

View source
<?php


/**
 * @file
 * Test module.
 */

/**
 * Implements hook_hook_info().
 */
function module_handler_test_hook_info() {
    return [
        'hook' => [
            'group' => 'hook',
        ],
    ];
}
function module_handler_test_hook($arg) {
    return $arg;
}

Functions

Title Deprecated Summary
module_handler_test_hook
module_handler_test_hook_info Implements hook_hook_info().

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