You are here

function countries_get_default_continents in Countries 7.2

Same name and namespace in other branches
  1. 8 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 517
Defines the field and entity information for countries.

Code

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