public function DelimitedWebformExporter::setConfiguration in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformExporter/DelimitedWebformExporter.php \Drupal\webform\Plugin\WebformExporter\DelimitedWebformExporter::setConfiguration()
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides WebformExporterBase::setConfiguration
File
- src/
Plugin/ WebformExporter/ DelimitedWebformExporter.php, line 32
Class
- DelimitedWebformExporter
- Defines a delimited text exporter.
Namespace
Drupal\webform\Plugin\WebformExporterCode
public function setConfiguration(array $configuration) {
parent::setConfiguration($configuration);
$this->configuration['delimiter'] = $this->configuration['delimiter'] === '\\t' ? "\t" : $this->configuration['delimiter'];
return $this;
}