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