You are here

function taxonomy_options_list in Drupal 7

Implements hook_options_list().

File

modules/taxonomy/taxonomy.module, line 1496
Enables the organization of content into categories.

Code

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