You are here

public function views_content_plugin_display_ctools_context::preview in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 views_content/plugins/views/views_content_plugin_display_ctools_context.inc \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
Contains the block display plugin.

Class

views_content_plugin_display_ctools_context
The plugin that handles a block.

Code

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