You are here

function field_collection_field_diff_view in Field collection 7

Diff field callback for parsing Field Collection fields comparative values.

File

./field_collection.diff.inc, line 11
Provide diff field functions for the Field Collection.

Code

function field_collection_field_diff_view($items, $context) {
  $diff_items = array();
  foreach ($items as $delta => $item) {
    $diff_items[$delta] = field_collection_field_render_revision($item, $context);
  }
  return $diff_items;
}