Drupal 8  8.0.2
CountryManager Class Reference
Inheritance diagram for CountryManager:

Public Member Functions

 __construct (ModuleHandlerInterface $module_handler)
 
 getList ()
 

Static Public Member Functions

static getStandardList ()
 

Protected Attributes

 $moduleHandler
 
 $countries
 

Detailed Description

Provides list of countries.

Member Function Documentation

getList ( )

Get an array of country code => country name pairs, altered by alter hooks.

Returns
array An array of country code => country name pairs.
See Also
::getStandardList()

Implements CountryManagerInterface.

References CountryManager\$countries, and Drupal\moduleHandler().

Here is the call graph for this function:

static getStandardList ( )
static

Get an array of all two-letter country code => country name pairs.

Returns
array An array of country code => country name pairs.

References CountryManager\$countries, and t().

Here is the call graph for this function:

Field Documentation

$countries
protected

An array of country code => country name pairs.

Referenced by CountryManager\getList(), and CountryManager\getStandardList().


The documentation for this class was generated from the following file: