From 11582440a3dbd40e727e300c891a4b27f1be5e5f Mon Sep 17 00:00:00 2001 From: Andrei Mateescu <andrei@amateescu.me> Date: Wed, 23 Apr 2025 15:37:44 +0300 Subject: [PATCH] Rebuild the router after setting the initial workspace workflow states on install. --- .../entity_workflow_workspace.install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/entity_workflow_workspace/entity_workflow_workspace.install b/modules/entity_workflow_workspace/entity_workflow_workspace.install index 6c12dce..8b3fa82 100644 --- a/modules/entity_workflow_workspace/entity_workflow_workspace.install +++ b/modules/entity_workflow_workspace/entity_workflow_workspace.install @@ -48,5 +48,8 @@ function entity_workflow_workspace_install(): void { } $storage->resetCache(); + + // Rebuild the router so workflow actions links are correctly assigned. + \Drupal::service('router.builder')->setRebuildNeeded(); } } -- GitLab