protected function DomPdf::doRender in Entity Print 8.2
Tell Dompdf to render the HTML into a PDF.
2 calls to DomPdf::doRender()
- DomPdf::getBlob in src/
Plugin/ EntityPrint/ PrintEngine/ DomPdf.php - Gets the binary data for the printed document.
- DomPdf::send in src/
Plugin/ EntityPrint/ PrintEngine/ DomPdf.php - Send the Print contents to the browser.
File
- src/
Plugin/ EntityPrint/ PrintEngine/ DomPdf.php, line 215
Class
- DomPdf
- A Entity Print plugin for the DomPdf library.
Namespace
Drupal\entity_print\Plugin\EntityPrint\PrintEngineCode
protected function doRender() {
if (!$this->hasRendered) {
$this->dompdf
->render();
$this->hasRendered = TRUE;
}
}