public function CurrencyInterface::setSymbol in Price 3.x
Same name and namespace in other branches
- 8 src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()
- 2.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()
- 2.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()
- 3.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()
Sets the currency symbol.
Parameters
string $symbol: The currency symbol.
Return value
$this
1 method overrides CurrencyInterface::setSymbol()
- Currency::setSymbol in src/
Entity/ Currency.php - Sets the currency symbol.
File
- src/
Entity/ CurrencyInterface.php, line 85
Class
- CurrencyInterface
- Defines the interface for currencies.
Namespace
Drupal\price\EntityCode
public function setSymbol($symbol);