function taxonomy_field_widget_info_alter

Implements hook_field_widget_info_alter().

File

modules/taxonomy/taxonomy.module, line 1488

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.