Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since #1653202: Initial field migration to MongoDB is closed, I'm moving MantasK's patch and problem here.
...btw with field collections it also was not working - host entity was not loaded. So I made some small change:
if ('field_collection_item' == $entity_type) { //don't save host entity $entity->save(true); } else { entity_save($entity_type, $entity); }
Comment | File | Size | Author |
---|---|---|---|
field_collection_item.patch | 750 bytes | Island Usurper | |