You are here

public function WkhtmltopdfGenerator::getStdout in PDF generator API 8

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

Get stdout output from the generator.

Return value

string The content of the stdout pipe.

Overrides PdfGeneratorBase::getStdout

File

src/Plugin/PdfGenerator/WkhtmltopdfGenerator.php, line 185
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 getStdout() {
  return $this->generator
    ->getCommand()
    ->getOutput();
}