You are here

public function CheckoutFlowBase::setConfiguration in Commerce Core 8.2

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

1 call to CheckoutFlowBase::setConfiguration()
CheckoutFlowBase::__construct in modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php
Constructs a new CheckoutFlowBase object.

File

modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php, line 276

Class

CheckoutFlowBase
Provides the base checkout flow class.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow

Code

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