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