function list_options_list in Drupal 7
Implements hook_options_list().
File
- modules/
field/ modules/ list/ list.module, line 437 - Defines list field types that can be used with the Options module.
Code
function list_options_list($field, $instance, $entity_type, $entity) {
return list_allowed_values($field, $instance, $entity_type, $entity);
}