You are here

public function CurrencyInterface::setNumericCode in Price 3.0.x

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

Code

public function setNumericCode($numeric_code);