You are here

public function views_plugin_display::preview in Views (for Drupal 7) 7.3

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

Fully render the display.

Used 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.

File

plugins/views_plugin_display.inc, line 2889
Definition of views_plugin_display.

Class

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

Code

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