function module_test_test_hook

Same name in other branches
  1. 9 core/modules/system/tests/modules/module_test/module_test.file.inc \module_test_test_hook()
  2. 8.9.x 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

modules/simpletest/tests/module_test.file.inc, line 11

Code

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

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