public function DompdfGenerator::setFooter in PDF generator API 2.x
Same name and namespace in other branches
- 8 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\PdfGeneratorCode
public function setFooter($text) {
// @todo see issue over here: https://github.com/dompdf/dompdf/issues/571
}