public function PdfEngineInterface::send in Entity Print 8
Send the PDF contents to the browser.
Parameters
$filename: (optional) The filename if we want to force the browser to download.
Throws
\Drupal\entity_print\PdfEngineException Thrown when PDF generation fails.
4 methods override PdfEngineInterface::send()
- DomPdf::send in src/Plugin/ EntityPrint/ PdfEngine/ DomPdf.php 
- Send the PDF contents to the browser.
- NotAvailablePdfEngine::send in tests/modules/ entity_print_test/ src/ Plugin/ EntityPrint/ PdfEngine/ NotAvailablePdfEngine.php 
- Send the PDF contents to the browser.
- PhpWkhtmlToPdf::send in src/Plugin/ EntityPrint/ PdfEngine/ PhpWkhtmlToPdf.php 
- Send the PDF contents to the browser.
- TestPdfEngine::send in tests/modules/ entity_print_test/ src/ Plugin/ EntityPrint/ PdfEngine/ TestPdfEngine.php 
- Send the PDF contents to the browser.
File
- src/Plugin/ PdfEngineInterface.php, line 30 
Class
Namespace
Drupal\entity_print\PluginCode
public function send($filename = NULL);