You are here

public function PdfGeneratorInterface::addPage in PDF generator API 8

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

Add a page to the generated PDF.

Parameters

string $html: The HTML of the page to be added.

4 methods override PdfGeneratorInterface::addPage()
DompdfGenerator::addPage in src/Plugin/PdfGenerator/DompdfGenerator.php
Add a page to the generated PDF.
MpdfGenerator::addPage in src/Plugin/PdfGenerator/MpdfGenerator.php
Add a page to the generated PDF.
TcpdfGenerator::addPage in src/Plugin/PdfGenerator/TcpdfGenerator.php
Add a page to the generated PDF.
WkhtmltopdfGenerator::addPage in src/Plugin/PdfGenerator/WkhtmltopdfGenerator.php
Add a page to the generated PDF.

File

src/Plugin/PdfGeneratorInterface.php, line 109
Contains \Drupal\pdf_api\Plugin\PdfGeneratorInterface.

Class

PdfGeneratorInterface
Defines an interface for PDF generator plugins.

Namespace

Drupal\pdf_api\Plugin

Code

public function addPage($html);