You are here

public function PhpWkhtmlToPdf::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/PhpWkhtmlToPdf.php, line 47

Class

PhpWkhtmlToPdf
@PdfEngine( id = "phpwkhtmltopdf", label = @Translation("Php Wkhtmltopdf") )

Namespace

Drupal\entity_print\Plugin\EntityPrint\PdfEngine

Code

public function defaultConfiguration() {
  return [
    'binary_location' => '/usr/local/bin/wkhtmltopdf',
  ];
}