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.
Followup to #3023884: Add a UI for duplicating entities.
We can now add a duplicate-form route to a bundle entity and get a duplicate form, but that won't duplicate the fields or the displays, which would be expected. Let's add a helper for that and call it from a EntityDuplicateEvent subscriber.
Comment | File | Size | Author |
---|---|---|---|
#4 | 3041219-4-bundle-duplicator.patch | 19.38 KB | bojanz |
|
Comments
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedCrediting jsacksick for his work in Commerce issue #3007444: Add a way to duplicate an entity bundle.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedComment #6
bojanz CreditAttribution: bojanz at Centarro commentedLooks like we're good to go. Also did some manual testing.