function taxonomy_options_list

Implements hook_options_list().

File

drupal/core/modules/taxonomy/taxonomy.module, line 929
Enables the organization of content into categories.

Code

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);
}