public function CurrencyInterface::getNumericCode in Price 3.0.x
Same name and namespace in other branches
- 8 src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::getNumericCode()
- 3.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::getNumericCode()
- 2.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::getNumericCode()
- 2.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::getNumericCode()
Gets the numeric currency code.
The numeric code has three digits, and the first one can be a zero, hence the need to pass it around as a string.
Return value
string The numeric currency code.
1 method overrides CurrencyInterface::getNumericCode()
- Currency::getNumericCode in src/
Entity/ Currency.php - Gets the numeric currency code.
File
- src/
Entity/ CurrencyInterface.php, line 57
Class
- CurrencyInterface
- Defines the interface for currencies.
Namespace
Drupal\price\EntityCode
public function getNumericCode();