W3cubDocs

/Drupal 8

public function CountryManagerInterface::getList

public 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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Locale!CountryManagerInterface.php/function/CountryManagerInterface::getList/8.1.x