function module_test_load
Same name in other branches
- 9 core/modules/system/tests/modules/module_test/module_test.module \module_test_load()
- 10 core/modules/system/tests/modules/module_test/module_test.module \module_test_load()
- 11.x core/modules/system/tests/modules/module_test/module_test.module \module_test_load()
Load function used by module_test_hook_dynamic_loading_invoke_all_during_load().
See also
module_test_menu()
File
-
core/
modules/ system/ tests/ modules/ module_test/ module_test.module, line 74
Code
function module_test_load($param) {
$result = \Drupal::moduleHandler()->invokeAll('test_hook');
return $result[$param];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.