You are here

public function Currency::getCurrencyCode in Price 3.x

Same name and namespace in other branches
  1. 8 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;
}