You are here

public function FedExPluginBase::setConfiguration in Commerce FedEx 8

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

2 calls to FedExPluginBase::setConfiguration()
DryIcePlugin::__construct in modules/dry_ice/src/Plugin/Commerce/FedEx/DryIcePlugin.php
Creates a new Dry Ice FedEx Plugin object.
FedExPluginBase::__construct in src/Plugin/Commerce/FedEx/FedExPluginBase.php
Creates a new FedEx Service object.

File

src/Plugin/Commerce/FedEx/FedExPluginBase.php, line 69

Class

FedExPluginBase
Class FedExPluginBase base class for the fedex plugins.

Namespace

Drupal\commerce_fedex\Plugin\Commerce\FedEx

Code

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