class CountryManager

Provides list of countries.

Hierarchy

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Locale!CountryManager.php/class/CountryManager/8.1.x