function taxonomy_options_list

cis7 taxonomy.module taxonomy_options_list($field, $instance, $entity_type, $entity)
cle7 taxonomy.module taxonomy_options_list($field, $instance, $entity_type, $entity)
elmsmedia7 taxonomy.module taxonomy_options_list($field, $instance, $entity_type, $entity)
icor7 taxonomy.module taxonomy_options_list($field, $instance, $entity_type, $entity)
meedjum_blog7 taxonomy.module taxonomy_options_list($field, $instance, $entity_type, $entity)
mooc7 taxonomy.module taxonomy_options_list($field, $instance, $entity_type, $entity)

Implements hook_options_list().

File

modules/taxonomy/taxonomy.module, line 1483
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);
}