function module_test_test_hook in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/module_test/module_test.file.inc \module_test_test_hook()
- 7 modules/simpletest/tests/module_test.file.inc \module_test_test_hook()
- 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!',
];
}