public function TcpdfGenerator::send in PDF generator API 2.x
Same name and namespace in other branches
- 8 src/Plugin/PdfGenerator/TcpdfGenerator.php \Drupal\pdf_api\Plugin\PdfGenerator\TcpdfGenerator::send()
The name of the file to be downloaded.
Overrides PdfGeneratorInterface::send
File
- src/
Plugin/ PdfGenerator/ TcpdfGenerator.php, line 127 - Contains \Drupal\pdf_api\Plugin\TcpdfGenerator.
Class
- TcpdfGenerator
- A PDF generator plugin for the mPDF library.
Namespace
Drupal\pdf_api\Plugin\PdfGeneratorCode
public function send() {
$this->generator
->Output('htmlout.pdf', 'I');
}