You are here

public function CurrencyInterface::setName in Commerce Core 8.2

Sets the currency name.

Parameters

string $name: The currency name.

Return value

$this

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

File

modules/price/src/Entity/CurrencyInterface.php, line 46

Class

CurrencyInterface
Defines the interface for currencies.

Namespace

Drupal\commerce_price\Entity

Code

public function setName($name);