Provides list of countries.
Hierarchy
- class \Drupal\Core\Locale\CountryManager implements CountryManagerInterface
File
- core/lib/Drupal/Core/Locale/CountryManager.php, line 10
Namespace
Drupal\Core\Locale
Members
Name | Modifiers | Type | Description |
---|---|---|---|
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 two-letter country code => country name pairs. |
CountryManager::__construct | public | function | Constructor. |
Please login to continue.