PrintExceptionEngine.php in Entity Print 8.2
File
tests/modules/entity_print_test/src/Plugin/EntityPrint/PrintEngine/PrintExceptionEngine.php
View source
<?php
namespace Drupal\entity_print_test\Plugin\EntityPrint\PrintEngine;
use Drupal\entity_print\Plugin\PrintEngineBase;
use Drupal\entity_print\PrintEngineException;
class PrintExceptionEngine extends PrintEngineBase {
public function send($filename, $force_download = TRUE) {
throw new PrintEngineException('Exception thrown by PrintExceptionEngine');
}
public function getBlob() {
return '';
}
public function getError() {
}
public function addPage($content) {
}
public static function dependenciesAvailable() {
return TRUE;
}
public function getPrintObject() {
}
}