function ajax_forms_test_lazy_load_form_ajax

Same name in other branches
  1. 9 core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module \ajax_forms_test_lazy_load_form_ajax()
  2. 8.9.x core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module \ajax_forms_test_lazy_load_form_ajax()
  3. 10 core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module \ajax_forms_test_lazy_load_form_ajax()
  4. 11.x 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

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.