You are here

public function NotAvailablePrintEngine::send in Entity Print 8.2

Send the Print contents to the browser.

Parameters

string $filename: The filename if we want to force the browser to download.

bool $force_download: TRUE to attempt to force the browser to download the PDF otherwise FALSE.

Throws

\Drupal\entity_print\PrintEngineException Thrown when Print generation fails.

Overrides PrintEngineInterface::send

File

tests/modules/entity_print_test/src/Plugin/EntityPrint/PrintEngine/NotAvailablePrintEngine.php, line 21

Class

NotAvailablePrintEngine
Unavailable print engine for testing.

Namespace

Drupal\entity_print_test\Plugin\EntityPrint\PrintEngine

Code

public function send($filename, $force_download = TRUE) {
}