Implements hook_options_list().
function taxonomy_options_list($field, $instance, $entity) {
$function = !empty($field['settings']['options_list_callback']) ? $field['settings']['options_list_callback'] : 'taxonomy_allowed_values';
return $function($field, $instance, $entity);
}