Skip to content
Snippets Groups Projects
Commit b5d2527e authored by Justin Toupin's avatar Justin Toupin Committed by Seth Hill
Browse files

Issue #3456036 by justin2pin, sethhill: Set _layoutParagraphsLayout property...

Issue #3456036 by justin2pin, sethhill: Set _layoutParagraphsLayout property on newly created paragraphs
parent 3d39bd57
No related branches found
No related tags found
1 merge request!172Set _layoutParagraphsLayout reference for newly created paragraphs
Pipeline #204188 passed with warnings
...@@ -230,6 +230,7 @@ class InsertComponentForm extends ComponentFormBase { ...@@ -230,6 +230,7 @@ class InsertComponentForm extends ComponentFormBase {
->create([ ->create([
$bundle_key => $paragraph_type->id(), $bundle_key => $paragraph_type->id(),
$langcode_key => $langcode, $langcode_key => $langcode,
'_layoutParagraphsLayout' => $this->getLayoutParagraphsLayout(),
]); ]);
return $paragraph; return $paragraph;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment