How can I update existing field collection entities using Migrate module? I wasn't able to find any examples at the official documentation page, nor anywhere else.

When I'm migrating nodes, I can do something like:

$this->addFieldMapping('nid', 'nid');
$this->systemOfRecord = Migration::DESTINATION;

What's the alternative in this case?

1 Answer 1


There's no current support in field_collection for this (a destination plugin must explicitly support Migration::DESTINATION, merging mapped fields with pre-existing values for the unmapped fields). I'd suggest submitting a feature request at https://www.drupal.org/project/issues/field_collection.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.