function module_handler_test_added_hook

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc \module_handler_test_added_hook()
  2. 8.9.x core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc \module_handler_test_added_hook()
  3. 10 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc \module_handler_test_added_hook()

Test function.

1 string reference to 'module_handler_test_added_hook'
ModuleHandlerTest::testLoadModule in core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
Tests loading a module.

File

core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.hook.inc, line 13

Code

function module_handler_test_added_hook($arg) {
    return $arg;
}

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