From d7106fcaec7860d2a521799985dd132d4575d639 Mon Sep 17 00:00:00 2001
From: John Voskuilen <john.voskuilen@sapito.nl>
Date: Mon, 17 Jun 2024 15:47:21 +0200
Subject: [PATCH] Issue #3454189: hook_update_8003 to 8.x-1.8 installs optional
 config and breaks my site

---
 config/optional/block.block.workflowtransitionform.yml | 1 -
 workflow.install                                       | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/config/optional/block.block.workflowtransitionform.yml b/config/optional/block.block.workflowtransitionform.yml
index 39c72105..3eb759cd 100644
--- a/config/optional/block.block.workflowtransitionform.yml
+++ b/config/optional/block.block.workflowtransitionform.yml
@@ -6,7 +6,6 @@ dependencies:
 _core:
   default_config_hash: EkPFj8uba5YsGtMNWXPTQ40UIzmW-MwIOhkdBgx2reI
 id: workflowtransitionform
-region: ''
 weight: -7
 provider: workflow
 plugin: workflow_transition_form_block
diff --git a/workflow.install b/workflow.install
index 5aa108df..f0994681 100644
--- a/workflow.install
+++ b/workflow.install
@@ -109,8 +109,7 @@ function workflow_update_8002(&$sandbox) {
 }
 
 /**
- * This will install a Transition Block, a History View and an Action.
+ * This will optionally install a Transition Block, History View and Action.
  */
 function workflow_update_8003(&$sandbox) {
-  \Drupal::service('config.installer')->installOptionalConfig();
 }
-- 
GitLab