I need to create a widget for fields of type "taxonomy_term_reference". The widget "taxonomy_select" is very nearly what I need to build, but needs some modification. I have seen examples that start with a given widget to build a custom version. The function below fails because there is no "taxonomy_select_field_widget_form" defined. Where is the "taxonomy_select" form creation code?
/**
* Implements hook_field_widget_form().
*/
function taxonomy_multiselect_add_field_widget_form(&$form, &$form_state, $field, $instance, $langcode, $items, $delta, $element) {
$element += taxonomy_select_field_widget_form($form, $form_state, $field, $instance, $langcode, $items, $delta, $element);
return $element;
}