You are here

public function Country::id in Ubercart 8.4

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

uc_country/src/Entity/Country.php, line 89

Class

Country
Defines the uc_country type configuration entity.

Namespace

Drupal\uc_country\Entity

Code

public function id() {
  return $this->alpha_2;
}