You are here

public function CountryManagerInterface::getList in Drupal 8

Same name and namespace in other branches
  1. 9 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\Locale

Code

public function getList();