function module_test_load

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