function module_test_test_hook

Same name in other branches
  1. 7.x 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()
  4. 11.x 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

Code

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

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