Unverified Commit 389e9ca3 authored by Alex Pott's avatar Alex Pott
Browse files

fix: #3570219 BlockListBuilder::submitForm() should not load config overrides

By: prudloff
By: berdir
(cherry picked from commit 24cd86aa)
parent e30f6f84
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ public function validateForm(array &$form, FormStateInterface $form_state) {
   */
  public function submitForm(array &$form, FormStateInterface $form_state) {
    $blocks = $form_state->getValue('blocks');
    $entities = $this->storage->loadMultiple(array_keys($blocks));
    $entities = $this->storage->loadMultipleOverrideFree(array_keys($blocks));
    /** @var \Drupal\block\BlockInterface[] $entities */
    foreach ($entities as $entity_id => $entity) {
      $entity_values = $form_state->getValue(['blocks', $entity_id]);