class CountryManager

Provides list of countries.

Hierarchy

Expanded class hierarchy of CountryManager

1 string reference to 'CountryManager'
1 service uses CountryManager

File

drupal/core/lib/Drupal/Core/Locale/CountryManager.php, line 15
Definition of \Drupal\Core\Locale\CountryManager.

Namespace

Drupal\Core\Locale
View source

Members

Namesort descending Modifiers Type Description Overrides
CountryManager::$countries protected property An array of country code => country name pairs.
CountryManager::$moduleHandler protected property The module handler service.
CountryManager::getList public function Get an array of country code => country name pairs, altered by alter hooks. Overrides CountryManagerInterface::getList
CountryManager::getStandardList public static function Get an array of all ISO 3166-1 alpha-2 country code => country name pairs.
CountryManager::__construct public function