function module_handler_test_all1_hook

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module \module_handler_test_all1_hook()
  2. 8.9.x core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module \module_handler_test_all1_hook()
  3. 10 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module \module_handler_test_all1_hook()

Returns an array to test nested merge in invoke all.

1 string reference to 'module_handler_test_all1_hook'
ModuleHandlerTest::testLoadAllModules in core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
Tests loading all modules.

File

core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module, line 13

Code

function module_handler_test_all1_hook($arg) {
    return [
        $arg,
    ];
}

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