You are here

public function CurrencyInterface::setCurrencyCode in Price 8

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

Code

public function setCurrencyCode($currency_code);