public function ExchangeRates::getExchangerConfigName in Commerce Exchanger 8
Name of the configuration file where exchange rates are stored.
Return value
string Get machine config name where exchange rates are stored.
Overrides ExchangeRatesInterface::getExchangerConfigName
1 call to ExchangeRates::getExchangerConfigName()
- ExchangeRates::preSave in src/
Entity/ ExchangeRates.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ ExchangeRates.php, line 95
Class
- ExchangeRates
- Defines the Exchange rates entity.
Namespace
Drupal\commerce_exchanger\EntityCode
public function getExchangerConfigName() {
if (!$this->id) {
return NULL;
}
return self::COMMERCE_EXCHANGER_IMPORT . $this
->id();
}