You are here

public function Country::getZones in Ubercart 8.4

Gets the ISO 3166-2 zone codes for this country.

Return value

array An associative array of zone names, keyed by ISO 3166-2 zone code.

Overrides CountryInterface::getZones

File

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

Class

Country
Defines the uc_country type configuration entity.

Namespace

Drupal\uc_country\Entity

Code

public function getZones() {
  return $this->zones;
}