taxonomy_field_widget_info_alter
function taxonomy_field_widget_info_alter
taxonomy_field_widget_info_alter(&$info)
Implements hook_field_widget_info_alter().
File
- modules/taxonomy/taxonomy.module, line 1486
- 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'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.module/function/taxonomy_field_widget_info_alter/7.x