You are here

public function Currency::getCurrencyCode in Price 8

Same name and namespace in other branches
  1. 3.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getCurrencyCode()
  2. 2.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getCurrencyCode()
  3. 2.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getCurrencyCode()
  4. 3.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getCurrencyCode()

Gets the alphabetic currency code.

Return value

string The alphabetic currency code.

Overrides CurrencyInterface::getCurrencyCode

File

src/Entity/Currency.php, line 100

Class

Currency
Defines the currency entity class.

Namespace

Drupal\price\Entity

Code

public function getCurrencyCode() {
  return $this->currencyCode;
}