You are here

public function WebformExporterBase::setConfiguration in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformExporterBase.php \Drupal\webform\Plugin\WebformExporterBase::setConfiguration()

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

2 calls to WebformExporterBase::setConfiguration()
DelimitedWebformExporter::setConfiguration in src/Plugin/WebformExporter/DelimitedWebformExporter.php
Sets the configuration for this plugin instance.
WebformExporterBase::__construct in src/Plugin/WebformExporterBase.php
Constructs a WebformExporterBase object.
1 method overrides WebformExporterBase::setConfiguration()
DelimitedWebformExporter::setConfiguration in src/Plugin/WebformExporter/DelimitedWebformExporter.php
Sets the configuration for this plugin instance.

File

src/Plugin/WebformExporterBase.php, line 180

Class

WebformExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\webform\Plugin

Code

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