You are here

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

File

src/Plugin/Commerce/BillingSchedule/BillingScheduleBase.php, line 60

Class

BillingScheduleBase
Provides the base class for billing schedules.

Namespace

Drupal\commerce_recurring\Plugin\Commerce\BillingSchedule

Code

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