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.
Hello,
Please include a bulkRollback method on the MigrateDestinationOGMembership. When rolling back migrations, this is significantly faster than rolling back each migrated membership individually.
Thanks for OG!
-G
Comment | File | Size | Author |
---|---|---|---|
#1 | og-bulkrollback-1811408.patch | 1.09 KB | gdl |
Comments
Comment #1
gdl CreditAttribution: gdl commentedPatch attached.
The MigrateDestination migration says that a derived class must impliment either bulkRollback() or rollback(), but says nothing about whether it can/should support both.
Comment #2
gdl CreditAttribution: gdl commentedComment #3
danylevskyiThanks for your patch!
It worked for me, but there is a warning:
Comment #4
danylevskyiPrevious warning was my fault.
Patch works great!
gdl, thanks!
Comment #5
amitaibuCommitted, thanks.