You are here

public function WebformEntityPrintWebformExporter::defaultConfiguration in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_entity_print/src/Plugin/WebformExporter/WebformEntityPrintWebformExporter.php \Drupal\webform_entity_print\Plugin\WebformExporter\WebformEntityPrintWebformExporter::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides DocumentBaseWebformExporter::defaultConfiguration

File

modules/webform_entity_print/src/Plugin/WebformExporter/WebformEntityPrintWebformExporter.php, line 73

Class

WebformEntityPrintWebformExporter
Defines a Webform Entity Print PDF exporter.

Namespace

Drupal\webform_entity_print\Plugin\WebformExporter

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'view_mode' => 'html',
  ];
}