public function DocumentBaseWebformExporter::defaultConfiguration in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformExporter/DocumentBaseWebformExporter.php \Drupal\webform\Plugin\WebformExporter\DocumentBaseWebformExporter::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides WebformExporterBase::defaultConfiguration
1 call to DocumentBaseWebformExporter::defaultConfiguration()
- WebformEntityPrintWebformExporter::defaultConfiguration in modules/
webform_entity_print/ src/ Plugin/ WebformExporter/ WebformEntityPrintWebformExporter.php - Gets default configuration for this plugin.
1 method overrides DocumentBaseWebformExporter::defaultConfiguration()
- WebformEntityPrintWebformExporter::defaultConfiguration in modules/
webform_entity_print/ src/ Plugin/ WebformExporter/ WebformEntityPrintWebformExporter.php - Gets default configuration for this plugin.
File
- src/
Plugin/ WebformExporter/ DocumentBaseWebformExporter.php, line 16
Class
- DocumentBaseWebformExporter
- Defines abstract document exporter used to export YAML or JSON.
Namespace
Drupal\webform\Plugin\WebformExporterCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'file_name' => 'submission-[webform_submission:serial]',
];
}