You are here

public function GroupingBase::setConfiguration in Mass Contact 8

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurablePluginInterface::setConfiguration

File

src/Plugin/MassContact/GroupingMethod/GroupingBase.php, line 25

Class

GroupingBase
Base class for grouping method plugins.

Namespace

Drupal\mass_contact\Plugin\MassContact\GroupingMethod

Code

public function setConfiguration(array $configuration) {
  $this->configuration = NestedArray::mergeDeep($this
    ->defaultConfiguration(), $configuration);
}