You are here

public function Currency::getName in Price 8

Same name and namespace in other branches
  1. 3.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getName()
  2. 2.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getName()
  3. 2.x src/Entity/Currency.php \Drupal\price\Entity\Currency::getName()
  4. 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\Entity

Code

public function getName() {
  return $this->name;
}