Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface
  2. 9 core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface

Defines a common interface for country managers.

Hierarchy

Expanded class hierarchy of CountryManagerInterface

All classes that implement CountryManagerInterface

1 file declares its use of CountryManagerInterface
CountryCodeConstraintTest.php in core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/CountryCodeConstraintTest.php

File

core/lib/Drupal/Core/Locale/CountryManagerInterface.php, line 8

Namespace

Drupal\Core\Locale
View source
interface CountryManagerInterface {

  /**
   * Returns a list of country code => country name pairs.
   *
   * @return array
   *   An array of country code => country name pairs.
   */
  public function getList();

}

Members

Namesort descending Modifiers Type Description Overrides
CountryManagerInterface::getList public function Returns a list of country code => country name pairs.