You are here

function taxonomy_field_widget_info_alter in Drupal 7

Implements hook_field_widget_info_alter().

File

modules/taxonomy/taxonomy.module, line 1488
Enables the organization of content into categories.

Code

function taxonomy_field_widget_info_alter(&$info) {
  $info['options_select']['field types'][] = 'taxonomy_term_reference';
  $info['options_buttons']['field types'][] = 'taxonomy_term_reference';
}