You are here

public function Pdf::render in PDF Generator 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/display/Pdf.php \Drupal\pdf_generator\Plugin\views\display\Pdf::render()

Renders this display.

Overrides DisplayPluginBase::render

File

src/Plugin/views/display/Pdf.php, line 142

Class

Pdf
The plugin that handles a feed, such as RSS or atom.

Namespace

Drupal\pdf_generator\Plugin\views\display

Code

public function render() {
  $build = $this->view->style_plugin
    ->render($this->view->result);
  $this
    ->applyDisplayCacheabilityMetadata($build);
  return $build;
}