1.20.x ajax.inc views_ajax_command_trigger_preview()

Trigger the Views live preview.

Return value

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

Related topics

File

modules/views/includes/ajax.inc, line 150
Handles the server side AJAX interactions of Views.

Code

function views_ajax_command_trigger_preview() {
  $command = array(
    'command' => 'viewsTriggerPreview',
  );
  return $command;
}