ajax_test.module

Helper module for Ajax framework tests.

File

drupal/core/modules/system/tests/modules/ajax_test/ajax_test.module
View source

Functions

Namesort descending Description
ajax_test_dialog Menu callback: Renders a form elements and links with #ajax['dialog'].
ajax_test_dialog_close Menu callback: Close the ajax dialog.
ajax_test_dialog_contents Returns example content for dialog tests.
ajax_test_dialog_form Form builder: Renders buttons with #ajax['dialog'].
ajax_test_dialog_form_callback_modal AJAX callback handler for ajax_test_dialog_form().
ajax_test_dialog_form_callback_nonmodal AJAX callback handler for ajax_test_dialog_form().
ajax_test_dialog_form_submit Non-AJAX behavior of the dialog buttons.
ajax_test_error Menu callback: Returns AJAX element with #error property set.
ajax_test_menu Implements hook_menu().
ajax_test_order Menu callback: Returns an AjaxResponse; settings command set last.
ajax_test_render Menu callback: Returns an element suitable for use by ajax_render().
ajax_test_system_theme_info Implements hook_system_theme_info().
_ajax_test_dialog Util to render dialog in ajax callback.