You are here

public function ExchangeRates::setPluginConfiguration in Commerce Exchanger 8

2 calls to ExchangeRates::setPluginConfiguration()
ExchangeRates::preSave in src/Entity/ExchangeRates.php
Acts on an entity before the presave hook is invoked.
ExchangeRates::set in src/Entity/ExchangeRates.php
Sets the value of a property.

File

src/Entity/ExchangeRates.php, line 151

Class

ExchangeRates
Defines the Exchange rates entity.

Namespace

Drupal\commerce_exchanger\Entity

Code

public function setPluginConfiguration(array $configuration) {
  $this->configuration = $configuration;
  $this->pluginCollection = NULL;
  return $this;
}