You are here

public function Currency::getName in Price 3.0.x

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