function form_test_load_include_menu_ajax
Ajax callback for the file inclusion via menu test.
1 string reference to 'form_test_load_include_menu_ajax'
- form_test_load_include_menu in modules/
simpletest/ tests/ form_test.file.inc - Form constructor for testing FAPI file inclusion of the file specified in hook_menu().
File
-
modules/
simpletest/ tests/ form_test.file.inc, line 42
Code
function form_test_load_include_menu_ajax($form) {
// We don't need to return anything, since #ajax['method'] is 'append', which
// does not remove the original #ajax['wrapper'] element, and status messages
// are automatically added by the Ajax framework as long as there's a wrapper
// element to add them to.
return '';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.