You are here

public function DateRecurInterpreterPluginBase::setConfiguration in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/DateRecurInterpreterPluginBase.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginBase::setConfiguration()
  2. 3.0.x src/Plugin/DateRecurInterpreterPluginBase.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginBase::setConfiguration()
  3. 3.1.x src/Plugin/DateRecurInterpreterPluginBase.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginBase::setConfiguration()

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurablePluginInterface::setConfiguration

1 call to DateRecurInterpreterPluginBase::setConfiguration()
RlInterpreter::__construct in src/Plugin/DateRecurInterpreter/RlInterpreter.php
Constructs a new RlInterpreter.

File

src/Plugin/DateRecurInterpreterPluginBase.php, line 35

Class

DateRecurInterpreterPluginBase
Base class for date recur interpreter plugins.

Namespace

Drupal\date_recur\Plugin

Code

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