You are here

public function CurrencyHelper::getDomicileCurrency in Commerce Currency Resolver 8

Return if domicile currency is used.

Return value

mixed Return if is active.

Overrides CurrencyHelperInterface::getDomicileCurrency

File

src/CurrencyHelper.php, line 209

Class

CurrencyHelper
Helper for various parts of the module.

Namespace

Drupal\commerce_currency_resolver

Code

public function getDomicileCurrency() {
  return $this->configFactory
    ->get('commerce_currency_resolver.currency_mapping')
    ->get('domicile_currency');
}