You are here

public function Page::execute in Views PDF 8

Executes the view and returns data in the format required.

The base class cannot be executed.

Overrides Page::execute

File

src/Plugin/views/display/Page.php, line 413
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 execute() {
  parent::execute();

  // And now render the view.
  return $this->view
    ->render();
}