You are here

function field_collection_uuid_entity_features_rebuild_alter in UUID Features Integration 7

Implements hook_uuid_entity_features_rebuild_alter().

File

includes/modules/field_collection.inc, line 18
uuid features hooks on behalf of the field collection module.

Code

function field_collection_uuid_entity_features_rebuild_alter($entity_type, &$entity, $data, $module) {
  $fields = uuid_features_get_field_items_iterator($entity, $entity_type, 'field_collection');
  uuid_features_fetch_uuid_references($fields, 'field_collection_item', array(
    'item_id' => 'value',
    'revision_id' => 'revision_id',
  ));
}