function CountryManagerInterface::getList

Same name in other branches
  1. 9 core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface::getList()
  2. 8.9.x core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface::getList()
  3. 11.x core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface::getList()

Returns a list of country code => country name pairs.

Return value

array An array of country code => country name pairs.

File

core/lib/Drupal/Core/Locale/CountryManagerInterface.php, line 16

Class

CountryManagerInterface
Defines a common interface for country managers.

Namespace

Drupal\Core\Locale

Code

public function getList();

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