1 ajax_forms_test.module | ajax_forms_test_lazy_load_form_ajax($form, &$form_state) |
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().
File
- core/
modules/ simpletest/ tests/ ajax_forms_test.module, line 521 - Simpletest mock module for Ajax forms testing.
Code
function ajax_forms_test_lazy_load_form_ajax($form, &$form_state) {
return NULL;
}