You are here

public function YamlFormExporterBase::setConfiguration in YAML Form 8

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurablePluginInterface::setConfiguration

2 calls to YamlFormExporterBase::setConfiguration()
DelimitedYamlFormExporter::setConfiguration in src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php
Sets the configuration for this plugin instance.
YamlFormExporterBase::__construct in src/YamlFormExporterBase.php
Constructs a Drupal\Component\Plugin\PluginBase object.
1 method overrides YamlFormExporterBase::setConfiguration()
DelimitedYamlFormExporter::setConfiguration in src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php
Sets the configuration for this plugin instance.

File

src/YamlFormExporterBase.php, line 134

Class

YamlFormExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\yamlform

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration + $this
    ->defaultConfiguration();
  return $this;
}