public function CurrencyInterface::setSymbol in Commerce Core 8.2
Sets the currency symbol.
Parameters
string $symbol: The currency symbol.
Return value
$this
1 method overrides CurrencyInterface::setSymbol()
- Currency::setSymbol in modules/
price/ src/ Entity/ Currency.php - Sets the currency symbol.
File
- modules/
price/ src/ Entity/ CurrencyInterface.php, line 85
Class
- CurrencyInterface
- Defines the interface for currencies.
Namespace
Drupal\commerce_price\EntityCode
public function setSymbol($symbol);