1 module_test.module | module_test_hook_dynamic_loading_invoke_all() |
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 106
Code
function module_test_hook_dynamic_loading_invoke_all() {
$result = module_invoke_all('test_hook');
return $result['module_test'];
}