You are here

function ajax_forms_test_lazy_load_form_ajax in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module \ajax_forms_test_lazy_load_form_ajax()
  2. 9 core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module \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
Simpletest mock module for Ajax forms testing.

Code

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