CountryManager::$countries
Same name in other branches
- 9 core/lib/Drupal/Core/Locale/CountryManager.php \Drupal\Core\Locale\CountryManager::countries
- 8.9.x core/lib/Drupal/Core/Locale/CountryManager.php \Drupal\Core\Locale\CountryManager::countries
- 10 core/lib/Drupal/Core/Locale/CountryManager.php \Drupal\Core\Locale\CountryManager::countries
An array of country code => country name pairs.
Type: countries
File
-
core/
lib/ Drupal/ Core/ Locale/ CountryManager.php, line 22
Class
- CountryManager
- Provides list of countries.
Namespace
Drupal\Core\LocaleCode
protected $countries;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.