public function Currency::getSymbol in Price 2.x
Same name and namespace in other branches
- 8 src/Entity/Currency.php \Drupal\price\Entity\Currency::getSymbol()
- 3.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getSymbol()
- 2.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getSymbol()
- 3.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getSymbol()
Gets the currency symbol.
Return value
string The currency symbol.
Overrides CurrencyInterface::getSymbol
File
- src/
Entity/ Currency.php, line 148
Class
- Currency
- Defines the currency entity class.
Namespace
Drupal\price\EntityCode
public function getSymbol() {
return $this->symbol;
}