public function Currency::id in Price 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Currency.php \Drupal\price\Entity\Currency::id()
- 3.x src/Entity/Currency.php \Drupal\price\Entity\Currency::id()
- 2.x src/Entity/Currency.php \Drupal\price\Entity\Currency::id()
- 3.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::id()
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
File
- src/
Entity/ Currency.php, line 96
Class
- Currency
- Defines the currency entity class.
Namespace
Drupal\price\EntityCode
public function id() {
return $this->currencyCode;
}