public function DocumentBaseYamlFormExporter::defaultConfiguration in YAML Form 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides YamlFormExporterBase::defaultConfiguration
File
- src/
Plugin/ YamlFormExporter/ DocumentBaseYamlFormExporter.php, line 16
Class
- DocumentBaseYamlFormExporter
- Defines abstract document exporter used to export YAML or JSON.
Namespace
Drupal\yamlform\Plugin\YamlFormExporterCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'file_name' => 'submission-[yamlform_submission:serial]',
];
}