function 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!'.

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'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.