You are here

function countries_field_widget_info_alter in Countries 8

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

Implements hook_field_widget_info_alter().

File

./countries.fields.inc, line 280
All field related code.

Code

function countries_field_widget_info_alter(&$info) {
  if (isset($info['options_buttons'])) {
    $info['options_buttons']['field types'][] = 'country';
    $info['options_select']['field types'][] = 'country';
  }
}