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