1 module_test.module | module_test_hook_dynamic_loading_invoke() |
Page callback for 'hook dynamic loading' test.
If the hook is dynamically loaded correctly, the menu callback should return 'success!'.
File
- core/
modules/ simpletest/ tests/ module_test.module, line 95
Code
function module_test_hook_dynamic_loading_invoke() {
$result = module_invoke('module_test', 'test_hook');
return $result['module_test'];
}