You are here

function field_collection_field_formatter_prepare_view in Field collection 7

File

./field_collection.module, line 1039
Module implementing field collection field type.

Code

function field_collection_field_formatter_prepare_view($entity_type, $entities, $field, $instances, $langcode, &$items, $displays) {
  $fields = field_read_fields(array(
    'type' => 'field_collection',
  ));
  field_collection_entity_preload($entities, $langcode, $items, $fields);
}