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