function views_content_plugin_display_ctools_context::preview

Fully render the display.

Used for the purposes of a live preview or some other AJAXy reason.

Overrides views_plugin_display::preview

File

views_content/plugins/views/views_content_plugin_display_ctools_context.inc, line 62

Class

views_content_plugin_display_ctools_context
The plugin that handles a block.

Code

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