interface CurrentCurrencyInterface in Commerce Currency Resolver 8
Holds a reference to the active currency, resolved on demand.
Hierarchy
- interface \Drupal\commerce_currency_resolver\CurrentCurrencyInterface
Expanded class hierarchy of CurrentCurrencyInterface
All classes that implement CurrentCurrencyInterface
1 file declares its use of CurrentCurrencyInterface
- CommerceCurrencyResolver.php in src/
Resolver/ CommerceCurrencyResolver.php
File
- src/
CurrentCurrencyInterface.php, line 8
Namespace
Drupal\commerce_currency_resolverView source
interface CurrentCurrencyInterface {
/**
* Gets the resolved currency for the current request.
*
* @return string
* The active currency.
*/
public function getCurrency();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CurrentCurrencyInterface:: |
public | function | Gets the resolved currency for the current request. | 1 |