Skip to content
Snippets Groups Projects
Commit 11582440 authored by Andrei Mateescu's avatar Andrei Mateescu
Browse files

Rebuild the router after setting the initial workspace workflow states on install.

parent dfd10c86
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment