You are here

protected function ConvertToPdf::setFooter in PDF using mPDF 8.2

Same name and namespace in other branches
  1. 8 src/Conversion/ConvertToPdf.php \Drupal\pdf_using_mpdf\Conversion\ConvertToPdf::setFooter()

Set footer for PDF file.

1 call to ConvertToPdf::setFooter()
ConvertToPdf::generator in src/Conversion/ConvertToPdf.php

File

src/Conversion/ConvertToPdf.php, line 210

Class

ConvertToPdf

Namespace

Drupal\pdf_using_mpdf\Conversion

Code

protected function setFooter() {
  $footer = $this->settings['pdf_footer'];
  if (isset($footer) && $footer != NULL) {
    $this->mpdf
      ->SetHTMLFooter($footer);
  }
}