| 1 taxonomy.module | taxonomy_options_list($field, $instance, $entity_type, $entity) | 
Implements hook_options_list().
File
- core/modules/ taxonomy/ taxonomy.module, line 1482 
- 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);
}
