You are here

public function WkhtmltopdfGenerator::getObject in PDF generator API 2.x

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

Returns instances of PDF libraries.

Return value

object The object of PDF generating libraries.

Overrides PdfGeneratorInterface::getObject

File

src/Plugin/PdfGenerator/WkhtmltopdfGenerator.php, line 94
Contains \Drupal\pdf_api\Plugin\WkhtmltopdfGenerator.

Class

WkhtmltopdfGenerator
A PDF generator plugin for the WKHTMLTOPDF library.

Namespace

Drupal\pdf_api\Plugin\PdfGenerator

Code

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