You are here

public function CurrencyHelper::getMappingMatrix in Commerce Currency Resolver 8

Get how currency is mapped in the system. By country, language, cookie.

Return value

array Return mapping type.

Overrides CurrencyHelperInterface::getMappingMatrix

See also

commerce_currency_resolver.settings

File

src/CurrencyHelper.php, line 202

Class

CurrencyHelper
Helper for various parts of the module.

Namespace

Drupal\commerce_currency_resolver

Code

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