public function DompdfGenerator::stream in PDF generator API 2.x
Same name and namespace in other branches
- 8 src/Plugin/PdfGenerator/DompdfGenerator.php \Drupal\pdf_api\Plugin\PdfGenerator\DompdfGenerator::stream()
Stream the PDF to the browser.
Overrides PdfGeneratorInterface::stream
File
- src/
Plugin/ PdfGenerator/ DompdfGenerator.php, line 134 - Contains \Drupal\pdf_api\Plugin\DompdfGenerator.
Class
- DompdfGenerator
- A PDF generator plugin for the dompdf library.
Namespace
Drupal\pdf_api\Plugin\PdfGeneratorCode
public function stream($filelocation) {
$this->generator
->Output($filelocation, "F");
}