You are here

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

File

modules/checkout/src/Plugin/Commerce/CheckoutPane/CheckoutPaneBase.php, line 95

Class

CheckoutPaneBase
Provides the base checkout pane class.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane

Code

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