You are here

public function Currency::getSymbol in Price 8

Same name and namespace in other branches
  1. 3.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getSymbol()
  2. 2.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getSymbol()
  3. 2.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getSymbol()
  4. 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 145

Class

Currency
Defines the currency entity class.

Namespace

Drupal\price\Entity

Code

public function getSymbol() {
  return $this->symbol;
}