function ajax_forms_test_lazy_load_form_ajax

AJAX callback for the ajax_forms_test_lazy_load_form() form.

This function returns nothing, because all we're interested in testing is ajax_render() adding commands for JavaScript and CSS added during the page request, such as the ones added in ajax_forms_test_lazy_load_form_submit().

1 string reference to 'ajax_forms_test_lazy_load_form_ajax'
ajax_forms_test_lazy_load_form in modules/simpletest/tests/ajax_forms_test.module
Form builder: Builds a form that triggers a simple AJAX callback.

File

modules/simpletest/tests/ajax_forms_test.module, line 518

Code

function ajax_forms_test_lazy_load_form_ajax($form, &$form_state) {
  return NULL;
}

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