Skip to content
Snippets Groups Projects
Commit 46edfab2 authored by Liam Morland's avatar Liam Morland
Browse files

Issue #3183052: Remove non-variable passed by reference

parent 8b9698ed
No related branches found
No related tags found
1 merge request!1Issue #3183052: Remove non-variable passed by reference
......@@ -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'] = [
......
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