You are here

function field_object_options_list in Corresponding Entity References 7.3

Implements hook_options_list().

File

field_object/field_object.module, line 87

Code

function field_object_options_list(array $field, array $instance, $entity_type, $entity) {
  return _field_object_build_hierarchy($field, $instance, $entity_type, $entity)
    ->options();
}