diff --git a/src/LayoutParagraphsLayout.php b/src/LayoutParagraphsLayout.php index 1b4faa45e6fb4bf3a7af07361ecc28b425c43f1a..1eabb15210b72099c320e5c05b71b0e89436f167 100644 --- a/src/LayoutParagraphsLayout.php +++ b/src/LayoutParagraphsLayout.php @@ -491,6 +491,7 @@ class LayoutParagraphsLayout implements ThirdPartySettingsInterface { * @return $this */ public function appendComponent(ParagraphInterface $new_paragraph) { + $new_paragraph->setParentEntity($this->getEntity(), $this->getFieldName()); $this->paragraphsReferenceField->appendItem(['entity' => $new_paragraph]); return $this; }