CountryManager
class CountryManager implements CountryManagerInterface (View source)
Provides list of countries.
Properties
| protected ModuleHandlerInterface | $moduleHandler | The module handler service. |
|
| protected | $countries | An array of country code => country name pairs. |
Methods
static array
getStandardList()
Get an array of all two-letter country code => country name pairs.
array
getList()
Get an array of country code => country name pairs, altered by alter hooks.
Details
__construct(ModuleHandlerInterface $module_handler)
Constructor.
static array
getStandardList()
Get an array of all two-letter country code => country name pairs.
array
getList()
Get an array of country code => country name pairs, altered by alter hooks.