You are here

public function YamlFormExporterBase::defaultConfiguration in YAML Form 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

4 calls to YamlFormExporterBase::defaultConfiguration()
DelimitedYamlFormExporter::defaultConfiguration in src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php
Gets default configuration for this plugin.
DocumentBaseYamlFormExporter::defaultConfiguration in src/Plugin/YamlFormExporter/DocumentBaseYamlFormExporter.php
Gets default configuration for this plugin.
TableYamlFormExporter::defaultConfiguration in src/Plugin/YamlFormExporter/TableYamlFormExporter.php
Gets default configuration for this plugin.
YamlFormExporterBase::setConfiguration in src/YamlFormExporterBase.php
Sets the configuration for this plugin instance.
3 methods override YamlFormExporterBase::defaultConfiguration()
DelimitedYamlFormExporter::defaultConfiguration in src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php
Gets default configuration for this plugin.
DocumentBaseYamlFormExporter::defaultConfiguration in src/Plugin/YamlFormExporter/DocumentBaseYamlFormExporter.php
Gets default configuration for this plugin.
TableYamlFormExporter::defaultConfiguration in src/Plugin/YamlFormExporter/TableYamlFormExporter.php
Gets default configuration for this plugin.

File

src/YamlFormExporterBase.php, line 142

Class

YamlFormExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\yamlform

Code

public function defaultConfiguration() {
  return [
    'yamlform' => NULL,
    'source_entity' => NULL,
  ];
}