You are here

public function PdfFormat::defaultConfiguration in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x modules/printable_pdf/src/Plugin/PrintableFormat/PdfFormat.php \Drupal\printable_pdf\Plugin\PrintableFormat\PdfFormat::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PrintableFormatBase::defaultConfiguration

File

modules/printable_pdf/src/Plugin/PrintableFormat/PdfFormat.php, line 140

Class

PdfFormat
Provides a plugin to display a PDF version of a page.

Namespace

Drupal\printable_pdf\Plugin\PrintableFormat

Code

public function defaultConfiguration() {
  return [
    'pdf_generator' => 'wkhtmltopdf',
  ];
}