You are here

public function Country::getName in Ubercart 8.4

Returns the ISO 3166-1 English short name of the country.

Return value

string The ISO 3166-1 English short name of the country.

Overrides CountryInterface::getName

File

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

Class

Country
Defines the uc_country type configuration entity.

Namespace

Drupal\uc_country\Entity

Code

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