You are here

function form_test_load_include_menu_ajax in Drupal 7

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