You are here

function module_test_test_hook in Drupal 8

Same name and namespace in other branches
  1. 7 modules/simpletest/tests/module_test.file.inc \module_test_test_hook()
  2. 9 core/modules/system/tests/modules/module_test/module_test.file.inc \module_test_test_hook()
  3. 10 core/modules/system/tests/modules/module_test/module_test.file.inc \module_test_test_hook()

Implements hook_test_hook().

File

core/modules/system/tests/modules/module_test/module_test.file.inc, line 11
A file to test \Drupal::moduleHandler()->getImplementations() loading includes.

Code

function module_test_test_hook() {
  return [
    'module_test' => 'success!',
  ];
}