You are here

function paragraphs_uuid_entity_features_rebuild_alter in UUID Features Integration 7

Implements hook_uuid_entity_features_rebuild_alter().

File

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

Code

function paragraphs_uuid_entity_features_rebuild_alter($entity_type, &$entity, $data, $module) {
  $fields = uuid_features_get_field_items_iterator($entity, $entity_type, 'paragraphs');
  uuid_features_fetch_uuid_references($fields, 'paragraphs_item', array(
    'item_id' => 'value',
    'revision_id' => 'revision_id',
  ));
}