module_handler_test.module in Drupal 10
Test module.
File
core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.moduleView 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
Name | Description |
---|---|
module_handler_test_hook | |
module_handler_test_hook_info | Implements hook_hook_info(). |