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