public function PrintBuilderInterface::deliverPrintable in Entity Print 8.2
Render any content entity as a Print.
Parameters
\Drupal\Core\Entity\EntityInterface[] $entities: The content entity to render.
\Drupal\entity_print\Plugin\PrintEngineInterface $print_engine: The plugin id of the Print engine to use.
bool $force_download: (optional) TRUE to try and force the document download.
bool $use_default_css: (optional) TRUE if you want the default CSS included, otherwise FALSE.
Return value
string FALSE or the Print content will be sent to the browser.
1 method overrides PrintBuilderInterface::deliverPrintable()
- PrintBuilder::deliverPrintable in src/
PrintBuilder.php - Render any content entity as a Print.
File
- src/
PrintBuilderInterface.php, line 28
Class
- PrintBuilderInterface
- Interface for the Print builder service.
Namespace
Drupal\entity_printCode
public function deliverPrintable(array $entities, PrintEngineInterface $print_engine, $force_download = FALSE, $use_default_css = TRUE);