You are here

function countries_get_default_continents in Countries 8

Same name and namespace in other branches
  1. 7.2 countries.module \countries_get_default_continents()
  2. 7 countries.module \countries_get_default_continents()

Get the default continents. For internal use only.

See also

countries_get_continents()

2 calls to countries_get_default_continents()
countries_get_continents in ./countries.module
Gets a list of all continents currently enabled.
countries_known_continents in ./countries.module
Provides a bigger set of continents for i18n.

File

./countries.module, line 527
Defines the field and entity information for countries.

Code

function countries_get_default_continents($t_options = array()) {
  return array(
    'AF' => t('Africa', array(), $t_options),
    'AS' => t('Asia', array(), $t_options),
    'EU' => t('Europe'),
    'NA' => t('North America', array(), $t_options),
    'SA' => t('South America', array(), $t_options),
    'OC' => t('Oceania', array(), $t_options),
    'AN' => t('Antarctica', array(), $t_options),
    'UN' => t('Unknown', array(), $t_options + array(
      'context' => 'countries',
    )),
  );
}