You are here

public function PdfEngineInterface::addPage in Entity Print 8

Add a string of HTML to a new page.

Parameters

string $content: The string of HTML to add to a new page.

Return value

$this

4 methods override PdfEngineInterface::addPage()
DomPdf::addPage in src/Plugin/EntityPrint/PdfEngine/DomPdf.php
Add a string of HTML to a new page.
NotAvailablePdfEngine::addPage in tests/modules/entity_print_test/src/Plugin/EntityPrint/PdfEngine/NotAvailablePdfEngine.php
Add a string of HTML to a new page.
PhpWkhtmlToPdf::addPage in src/Plugin/EntityPrint/PdfEngine/PhpWkhtmlToPdf.php
Add a string of HTML to a new page.
TestPdfEngine::addPage in tests/modules/entity_print_test/src/Plugin/EntityPrint/PdfEngine/TestPdfEngine.php
Add a string of HTML to a new page.

File

src/Plugin/PdfEngineInterface.php, line 19

Class

PdfEngineInterface

Namespace

Drupal\entity_print\Plugin

Code

public function addPage($content);