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. 11.x core/modules/system/tests/modules/module_test/module_test.file.inc

A file to test \Drupal::moduleHandler()->getImplementationInfo() loading includes.

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

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