interface CountryManagerInterface
Same name in other branches
- 9 core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface
- 8.9.x core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface
- 10 core/lib/Drupal/Core/Locale/CountryManagerInterface.php \Drupal\Core\Locale\CountryManagerInterface
Defines a common interface for country managers.
Hierarchy
- interface \Drupal\Core\Locale\CountryManagerInterface
Expanded class hierarchy of CountryManagerInterface
All classes that implement CountryManagerInterface
3 files declare their use of CountryManagerInterface
- CountryCodeConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ CountryCodeConstraint.php - CountryCodeConstraintTest.php in core/
tests/ Drupal/ Tests/ Core/ Validation/ Plugin/ Validation/ Constraint/ CountryCodeConstraintTest.php - RegionalForm.php in core/
modules/ system/ src/ Form/ RegionalForm.php
File
-
core/
lib/ Drupal/ Core/ Locale/ CountryManagerInterface.php, line 8
Namespace
Drupal\Core\LocaleView 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
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
CountryManagerInterface::getList | public | function | Returns a list of country code => country name pairs. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.