module_handler_test.module

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

File

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

View source
<?php


/**
 * @file
 * Test module.
 */
declare (strict_types=1);

/**
 * 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.