You are here

module_handler_test.module in Drupal 8

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;
}