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.
This feature exists in the D7 branch, added via #1590146: Clone referenced entities.
Quoting myself:
Should be easier in D8 since all entities have a createDuplicate() method we can use. The actual functionality should also be called "Duplicate" to match D8 terminology. I went with "Clone" in D7 because that's what the Entity API module used.
Comment | File | Size | Author |
---|---|---|---|
#5 | inline_entity_form_duplicate_2962706_4.patch | 9.63 KB | nkoporec |
| |||
#3 | 1590146-77-duplicate-entity-d8-dev.patch | 9.12 KB | bojanz |
Comments
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedilya.no uploaded this patch to the closed D7 issue, moving it here.
Comment #5
nkoporecCreated reroll of ilya.no patch so it can be applied to latest branch.
Comment #6
maaty388 CreditAttribution: maaty388 commentedWorks perferctly, marking as RTBC
Comment #7
bojanz CreditAttribution: bojanz at Centarro commentedThis patch has no tests.
Comment #9
bojanz CreditAttribution: bojanz at Centarro commentedTest added.