You are here

public function DomPdf::getBlob in Entity Print 8.2

Gets the binary data for the printed document.

Return value

mixed The binary data.

Overrides PrintEngineInterface::getBlob

File

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

Class

DomPdf
A Entity Print plugin for the DomPdf library.

Namespace

Drupal\entity_print\Plugin\EntityPrint\PrintEngine

Code

public function getBlob() {
  $this
    ->doRender();
  return $this->dompdf
    ->output();
}