function 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 11

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.