function taxonomy_options_list

taxonomy_options_list($field, $instance, $entity_type, $entity)

Implements hook_options_list().

File

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.module/function/taxonomy_options_list/7.x