public function Currency::setName in Price 3.0.x
Same name and namespace in other branches
- 8 src/Entity/Currency.php \Drupal\price\Entity\Currency::setName()
- 3.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setName()
- 2.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setName()
- 2.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setName()
Sets the currency name.
Parameters
string $name: The currency name.
Return value
$this
Overrides CurrencyInterface::setName
File
- src/
Entity/ Currency.php, line 122
Class
- Currency
- Defines the currency entity class.
Namespace
Drupal\price\EntityCode
public function setName($name) {
$this->name = $name;
return $this;
}