protected function DomPdf::getError in Entity Print 8
1 call to DomPdf::getError()
- DomPdf::send in src/
Plugin/ EntityPrint/ PdfEngine/ DomPdf.php - Send the PDF contents to the browser.
File
- src/
Plugin/ EntityPrint/ PdfEngine/ DomPdf.php, line 145
Class
- DomPdf
- @PdfEngine( id = "dompdf", label = @Translation("Dompdf") )
Namespace
Drupal\entity_print\Plugin\EntityPrint\PdfEngineCode
protected function getError() {
global $_dompdf_warnings;
if (is_array($_dompdf_warnings)) {
return implode(', ', $_dompdf_warnings);
}
return FALSE;
}