You are here

function module_test_hook_dynamic_loading_invoke_all in Drupal 7

Page callback for 'hook dynamic loading' test.

If the hook is dynamically loaded correctly, the menu callback should return 'success!'.

1 string reference to 'module_test_hook_dynamic_loading_invoke_all'
module_test_menu in modules/simpletest/tests/module_test.module
Implements hook_menu().

File

modules/simpletest/tests/module_test.module, line 101

Code

function module_test_hook_dynamic_loading_invoke_all() {
  $result = module_invoke_all('test_hook');
  return $result['module_test'];
}