You are here

function views_plugin_display::preview in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 plugins/views_plugin_display.inc \views_plugin_display::preview()
  2. 7.3 plugins/views_plugin_display.inc \views_plugin_display::preview()

Fully render the display for the purposes of a live preview or some other AJAXy reason.

1 method overrides views_plugin_display::preview()
views_plugin_display_feed::preview in plugins/views_plugin_display_feed.inc
Fully render the display for the purposes of a live preview or some other AJAXy reason.

File

plugins/views_plugin_display.inc, line 2469
Contains the base display plugin.

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

function preview() {
  return $this->view
    ->render();
}