From 3379c3b2f04f03cf01b58973f149353d76b22814 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Mon, 13 Feb 2023 13:04:55 +0000
Subject: [PATCH] Issue #3337174 by Spokje: Remove @todo linking to closed
 issue in onfigureBlockFormBase::doBuildForm

---
 .../modules/layout_builder/src/Form/ConfigureBlockFormBase.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php b/core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
index 65afe452eeca..76f2526d0410 100644
--- a/core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
+++ b/core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
@@ -166,9 +166,6 @@ public function doBuildForm(array $form, FormStateInterface $form_state, Section
 
     $form_state->setTemporaryValue('gathered_contexts', $this->getPopulatedContexts($section_storage));
 
-    // @todo Remove once https://www.drupal.org/node/2268787 is resolved.
-    $form_state->set('block_theme', $this->config('system.theme')->get('default'));
-
     $form['#tree'] = TRUE;
     $form['settings'] = [];
     $subform_state = SubformState::createForSubform($form['settings'], $form, $form_state);
-- 
GitLab