You are here

public function DompdfGenerator::setFooter in PDF generator API 8

Same name and namespace in other branches
  1. 2.x src/Plugin/PdfGenerator/DompdfGenerator.php \Drupal\pdf_api\Plugin\PdfGenerator\DompdfGenerator::setFooter()

Sets the footer in the PDF.

Parameters

string $html: The text to be rendered as footer.

Overrides PdfGeneratorInterface::setFooter

File

src/Plugin/PdfGenerator/DompdfGenerator.php, line 111
Contains \Drupal\pdf_api\Plugin\DompdfGenerator.

Class

DompdfGenerator
A PDF generator plugin for the dompdf library.

Namespace

Drupal\pdf_api\Plugin\PdfGenerator

Code

public function setFooter($text) {

  // @todo see issue over here: https://github.com/dompdf/dompdf/issues/571
}