You are here

public function DelimitedYamlFormExporter::setConfiguration in YAML Form 8

Sets the configuration for this plugin instance.

Parameters

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

Overrides YamlFormExporterBase::setConfiguration

File

src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php, line 31

Class

DelimitedYamlFormExporter
Defines a delimited text exporter.

Namespace

Drupal\yamlform\Plugin\YamlFormExporter

Code

public function setConfiguration(array $configuration) {
  parent::setConfiguration($configuration);
  if ($this->configuration['delimiter'] == '\\t') {
    $this->configuration['delimiter'] = "\t";
  }
  return $this;
}