public function DomPdf::defaultConfiguration in Entity Print 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides PdfEngineBase::defaultConfiguration
File
- src/
Plugin/ EntityPrint/ PdfEngine/ DomPdf.php, line 73
Class
- DomPdf
- @PdfEngine( id = "dompdf", label = @Translation("Dompdf") )
Namespace
Drupal\entity_print\Plugin\EntityPrint\PdfEngineCode
public function defaultConfiguration() {
return [
'enable_html5_parser' => TRUE,
'enable_remote' => TRUE,
'default_paper_size' => 'letter',
];
}