You are here

interface CountryManagerInterface in Zircon Profile 8

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

2 files declare their use of CountryManagerInterface
RegionalForm.php in core/modules/system/src/Form/RegionalForm.php
Contains \Drupal\system\Form\RegionalForm.
SiteConfigureForm.php in core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
Contains \Drupal\Core\Installer\Form\SiteConfigureForm.

File

core/lib/Drupal/Core/Locale/CountryManagerInterface.php, line 13
Contains \Drupal\Core\Locale\CountryManagerInterface.

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. 1