You are here

function countries_get_country in Countries 8

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

Wrapper for country_load().

Deprecated

Use country_load($iso2) instead.

File

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

Code

function countries_get_country($iso2) {
  watchdog('countries', 'Use of deprecated function countries_get_country(), use country_load() instead.', array(), WATCHDOG_NOTICE);
  return country_load($iso2);
}