function CountryManagerInterface::getList
Same name in other branches
- 9 core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface::getList()
- 10 core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface::getList()
- 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.
1 method overrides CountryManagerInterface::getList()
- CountryManager::getList in core/
lib/ Drupal/ Core/ Locale/ CountryManager.php - Get an array of country code => country name pairs, altered by alter hooks.
File
-
core/
lib/ Drupal/ Core/ Locale/ CountryManagerInterface.php, line 16
Class
- CountryManagerInterface
- Defines a common interface for country managers.
Namespace
Drupal\Core\LocaleCode
public function getList();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.