You are here

function languagefield_field_widget_info_alter in Custom Language field 8

Same name and namespace in other branches
  1. 7 languagefield.module \languagefield_field_widget_info_alter()

Implements hook_field_widget_info_alter().

File

./languagefield.module, line 15
Hook implementations for Languagefield module.

Code

function languagefield_field_widget_info_alter(array &$info) {

  // Allow boxes/radio buttons widget to be used for language field.
  $info['options_buttons']['field_types'][] = 'language_field';
}