You are here

function module_test_hook_dynamic_loading_invoke 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'
module_test_menu in modules/simpletest/tests/module_test.module
Implements hook_menu().

File

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

Code

function module_test_hook_dynamic_loading_invoke() {
  $result = module_invoke('module_test', 'test_hook');
  return $result['module_test'];
}