diff --git a/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php b/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php index b24e382f991418aaa192ea09307a844b6eeb8fee..6ebb7012e2bed63f0bcf07c148a71616396a5292 100644 --- a/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php +++ b/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php @@ -30,7 +30,7 @@ class LayoutBuilderIdsConfigureBlock implements EventSubscriberInterface { if (in_array($form['#form_id'], ['layout_builder_add_block', 'layout_builder_update_block'], TRUE)) { // Pull out the layout_builder_id from config. - $layout_builder_id = &$event->getFormState()->getFormObject()->getCurrentComponent()->get('layout_builder_id'); + $layout_builder_id = $event->getFormState()->getFormObject()->getCurrentComponent()->get('layout_builder_id'); // Add the section id to the configure form. $form['settings']['layout_builder_id'] = [