You are here

public function RecurringPeriodBase::setConfiguration in Recurring Time Period 8

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

1 call to RecurringPeriodBase::setConfiguration()
RecurringPeriodBase::__construct in src/Plugin/RecurringPeriod/RecurringPeriodBase.php
Constructs a new plugin instance.

File

src/Plugin/RecurringPeriod/RecurringPeriodBase.php, line 106

Class

RecurringPeriodBase
Base class for recurring period plugins.

Namespace

Drupal\recurring_period\Plugin\RecurringPeriod

Code

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