You are here

function ViewsPdfBase::Header in Views PDF 8

This method must be overriden, in the other case, some output is printed to the header.

File

src/ViewsPdfBase.php, line 250
Contains \Drupal\views_pdf\ViewsPdfTemplate.

Class

ViewsPdfBase
The main class to generate the PDF.

Namespace

Drupal\views_pdf

Code

function Header() {
  if (!empty($this->views_header)) {
    $this
      ->writeHTML($this->views_header);
  }
}