You are here

public function Country::getAlpha3 in Ubercart 8.4

Returns the 3-character ISO 3166-1 code of the country.

Return value

string The 3-character ISO 3166-1 code of the country.

Overrides CountryInterface::getAlpha3

File

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

Class

Country
Defines the uc_country type configuration entity.

Namespace

Drupal\uc_country\Entity

Code

public function getAlpha3() {
  return $this->alpha_3;
}