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.
Wondering if anyone has thought yet about doing a recursive clone?
to be more clear:
node type A has entity ref field for node type B which in turn has entity ref field for node type C
so example of cloning a node of type A:
original:
a1
- b1
-- c1
-- c2
- b2
-- c2
-- c3
cloning a1 creates:
a2
- b3
-- c4
-- c5
-b4
-- c5
-- c6
seems simple enough :)
Comments
Comment #1
pwolanin CreditAttribution: pwolanin as a volunteer and at Acquia commentedSeems simple, but it's not, in practice, simple to implement correctly.