public function CountryManagerInterface::getList in Drupal 9
Same name and namespace in other branches
- 8 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();