You are here

protected function DomPdf::getError in Entity Print 8.2

1 call to DomPdf::getError()
DomPdf::send in src/Plugin/EntityPrint/PrintEngine/DomPdf.php
Send the Print contents to the browser.

File

src/Plugin/EntityPrint/PrintEngine/DomPdf.php, line 225

Class

DomPdf
A Entity Print plugin for the DomPdf library.

Namespace

Drupal\entity_print\Plugin\EntityPrint\PrintEngine

Code

protected function getError() {
  global $_dompdf_warnings;
  if (is_array($_dompdf_warnings)) {
    return implode(', ', $_dompdf_warnings);
  }
  return FALSE;
}