public function StoreInterface::getDefaultCurrency in Commerce Core 8.2
Gets the default store currency.
Return value
\Drupal\commerce_price\Entity\CurrencyInterface The default store currency.
1 method overrides StoreInterface::getDefaultCurrency()
- Store::getDefaultCurrency in modules/
store/ src/ Entity/ Store.php - Gets the default store currency.
File
- modules/
store/ src/ Entity/ StoreInterface.php, line 57
Class
- StoreInterface
- Defines the interface for stores.
Namespace
Drupal\commerce_store\EntityCode
public function getDefaultCurrency();