You are here

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

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PrintableFormatBase::defaultConfiguration

File

src/Plugin/PrintableFormat/PrintFormat.php, line 23

Class

PrintFormat
Provides a plugin to display a printable version of a page.

Namespace

Drupal\printable\Plugin\PrintableFormat

Code

public function defaultConfiguration() {
  return [
    'show_print_dialogue' => TRUE,
  ];
}