You are here

public function ProraterBase::setConfiguration in Commerce Recurring Framework 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 ProraterBase::setConfiguration()
ProraterBase::__construct in src/Plugin/Commerce/Prorater/ProraterBase.php
Constructs a new ProraterBase object.

File

src/Plugin/Commerce/Prorater/ProraterBase.php, line 73

Class

ProraterBase
Defines the prorater class.

Namespace

Drupal\commerce_recurring\Plugin\Commerce\Prorater

Code

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