public function CurrencyInterface::setNumericCode in Price 8
Same name and namespace in other branches
- 3.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setNumericCode()
- 2.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setNumericCode()
- 2.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setNumericCode()
- 3.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setNumericCode()
Sets the numeric currency code.
Parameters
string $numeric_code: The numeric currency code.
Return value
$this
1 method overrides CurrencyInterface::setNumericCode()
- Currency::setNumericCode in src/
Entity/ Currency.php - Sets the numeric currency code.
File
- src/
Entity/ CurrencyInterface.php, line 67
Class
- CurrencyInterface
- Defines the interface for currencies.
Namespace
Drupal\price\EntityCode
public function setNumericCode($numeric_code);