You are here

public function Page::preview in Views PDF 8

Renders the display for the purposes of a live preview.

Also might be used for some other AJAXy reason.

Overrides DisplayPluginBase::preview

File

src/Plugin/views/display/Page.php, line 419
Contains \Drupal\views_pdf\Plugin\views\display\Page.

Class

Page
This class contains all the functionality of the PDF display.

Namespace

Drupal\views_pdf\Plugin\views\display

Code

public function preview() {
  return $this
    ->t('The PDF display does not provide a preview.');
}