You are here

function countries_field_info in Countries 7

Same name and namespace in other branches
  1. 8 countries.fields.inc \countries_field_info()
  2. 7.2 countries.fields.inc \countries_field_info()

Implement hook_field_info().

File

./countries.module, line 320

Code

function countries_field_info() {
  return array(
    'country' => array(
      'label' => t('Country'),
      'description' => t('This field stores a country reference in the database.'),
      'settings' => array(),
      'default_widget' => 'country_select',
      'default_formatter' => 'country_default',
    ),
  );
}