You are here

public function CurrencyInterface::setName in Price 2.x

Same name and namespace in other branches
  1. 8 src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setName()
  2. 3.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setName()
  3. 2.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setName()
  4. 3.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setName()

Sets the currency name.

Parameters

string $name: The currency name.

Return value

$this

1 method overrides CurrencyInterface::setName()
Currency::setName in src/Entity/Currency.php
Sets the currency name.

File

src/Entity/CurrencyInterface.php, line 46

Class

CurrencyInterface
Defines the interface for currencies.

Namespace

Drupal\price\Entity

Code

public function setName($name);