public function Currency::setName in Commerce Core 8.2
Sets the currency name.
Parameters
string $name: The currency name.
Return value
$this
Overrides CurrencyInterface::setName
File
- modules/
price/ src/ Entity/ Currency.php, line 125
Class
- Currency
- Defines the currency entity class.
Namespace
Drupal\commerce_price\EntityCode
public function setName($name) {
$this->name = $name;
return $this;
}