CountryManager::$countries

Same name in other branches
  1. 9 core/lib/Drupal/Core/Locale/CountryManager.php \Drupal\Core\Locale\CountryManager::countries
  2. 8.9.x core/lib/Drupal/Core/Locale/CountryManager.php \Drupal\Core\Locale\CountryManager::countries
  3. 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\Locale

Code

protected $countries;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.