function form_test_load_include_menu_ajax

7.x form_test.file.inc form_test_load_include_menu_ajax($form)

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 drupal-7.x/modules/simpletest/tests/form_test.file.inc
Form constructor for testing FAPI file inclusion of the file specified in hook_menu().

File

drupal-7.x/modules/simpletest/tests/form_test.file.inc, line 42
An include file to test loading it with the form API.

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