You are here

function module_test_load in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 95

Code

function module_test_load($param) {
  $result = \Drupal::moduleHandler()
    ->invokeAll('test_hook');
  return $result[$param];
}