function CountryManagerInterface::getList
Same name in other branches
- 9 core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface::getList()
- 8.9.x 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.
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.