You are here

function views_ajax_command_dismiss_form in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 8.3 includes/ajax.inc \views_ajax_command_dismiss_form()

Creates a Drupal AJAX 'viewsDismissForm' command.

Return value

array An array suitable for use with the ajax_render() function.

Related topics

1 call to views_ajax_command_dismiss_form()
views_ui_ajax_form in includes/admin.inc
Generic entry point to handle forms.

File

includes/ajax.inc, line 120
Handles the server side AJAX interactions of Views.

Code

function views_ajax_command_dismiss_form() {
  $command = array(
    'command' => 'viewsDismissForm',
  );
  return $command;
}