public function SourceBase::setConfiguration in Feeds 8.3
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides PluginBase::setConfiguration
File
- src/
Plugin/ Type/ Source/ SourceBase.php, line 15
Class
- SourceBase
- Base class for source plugins.
Namespace
Drupal\feeds\Plugin\Type\SourceCode
public function setConfiguration(array $configuration) {
$defaults = $this
->defaultConfiguration();
$this->configuration = $configuration + $defaults;
}