module_test.file.inc

Same filename in other branches
  1. 7.x modules/simpletest/tests/module_test.file.inc
  2. 9 core/modules/system/tests/modules/module_test/module_test.file.inc
  3. 8.9.x core/modules/system/tests/modules/module_test/module_test.file.inc
  4. 10 core/modules/system/tests/modules/module_test/module_test.file.inc

File

core/modules/system/tests/modules/module_test/module_test.file.inc

View source
<?php


/**
 * @file
 * A file to test \Drupal::moduleHandler()->getImplementationInfo() loading includes.
 */
declare (strict_types=1);

/**
 * Implements hook_test_hook().
 */
function module_test_test_hook() {
    return [
        'module_test' => 'success!',
    ];
}

Functions

Title Deprecated Summary
module_test_test_hook Implements hook_test_hook().

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