Suppose node A contains a paragraphs field with a paragraph entity X. Duplicating the node by means of Node clone will create a new node - let's call it node B - with an exact copy of paragraph X. It is even possible to change the contents of X in node A and B independently. But when A or B is deleted, X will be erased from both nodes. Obviously this is because there has never been created a new entity when replicating the paragraph, but only a new entity revision.

For Drupal 7, this behavior is documented in Paragraphs data loss with Node clone module and at least partly fixed by a patch. But none of this seems to be the case for the Drupal 8 dev version of Node clone. Has anyone found a solution or workaround for this issue?

Drupal 8.2.0

Paragraph 8.x-1.0+14-dev

Node clone 8.x-1.x-dev

1 Answer 1


Paragraph in 8.x integrates with the replicate project only at the moment: https://www.drupal.org/project/replicate

If you use that, cloning a node will also create clones of the used paragraphs.

  • Thanks for your answer which prevents me from trying the impossible. - I also tried Replicate 8.x-1.x-dev, but I could not quickly find a way to implement it since there is no UI, and the API documentation is for D7 only. Did you manage to make it work in a comparable use case?
    – Konstantin
    Nov 29, 2016 at 22:50
  • There's a drupal.org/project/replicate_ui project. It has a 8.x dev release that is now shown by default, no idea why. Use/try on your own risk :)
    – Berdir
    Nov 29, 2016 at 23:19
  • Indeed I thought there were no Drupal 8 Version of Replicate UI. But thanks to your hint, I tried it now, and it seems to work like a charm. All paragraphs in a replicated node get a new entity id, so that there should be no more trouble with unintentionally deleted paragraphs.
    – Konstantin
    Nov 30, 2016 at 21:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.