You are here

public function CurrentCurrencyInterface::getCurrency in Commerce Currency Resolver 8

Gets the resolved currency for the current request.

Return value

string The active currency.

1 method overrides CurrentCurrencyInterface::getCurrency()
CurrentCurrency::getCurrency in src/CurrentCurrency.php
Gets the resolved currency for the current request.

File

src/CurrentCurrencyInterface.php, line 16

Class

CurrentCurrencyInterface
Holds a reference to the active currency, resolved on demand.

Namespace

Drupal\commerce_currency_resolver

Code

public function getCurrency();