You are here

public function DompdfGenerator::getObject in PDF generator API 8

Same name and namespace in other branches
  1. 2.x src/Plugin/PdfGenerator/DompdfGenerator.php \Drupal\pdf_api\Plugin\PdfGenerator\DompdfGenerator::getObject()

Returns instances of PDF libraries.

Return value

object The object of PDF generating libraries.

Overrides PdfGeneratorInterface::getObject

File

src/Plugin/PdfGenerator/DompdfGenerator.php, line 72
Contains \Drupal\pdf_api\Plugin\DompdfGenerator.

Class

DompdfGenerator
A PDF generator plugin for the dompdf library.

Namespace

Drupal\pdf_api\Plugin\PdfGenerator

Code

public function getObject() {
  return $this->generator;
}