public function CurrentCurrencyTest::getCurrency in Commerce Currency Resolver 8
Gets the resolved currency for the current request.
Return value
string The active currency.
Overrides CurrentCurrency::getCurrency
File
- tests/
modules/ commerce_currency_resolver_test/ src/ CurrentCurrencyTest.php, line 15
Class
- CurrentCurrencyTest
- Holds a reference to the currency, resolved on demand.
Namespace
Drupal\commerce_currency_resolver_testCode
public function getCurrency() {
return 'VUV';
}