Closed (fixed)
Project:
Workflow
Version:
2.1.13
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2026 at 07:57 UTC
Updated:
13 Oct 2026 at 08:00 UTC
Jump to comment: Most recent
In D7, this module contained a number of submodules, to enhance performance.
Starting with D8, OO-modelling prevents the loading of all code on a page.
So, some modules became obsolete/redundant/deprecated.
They must be disabled explicitely, so we can remove them in D12.
Install Workflow and submodules in D8, D9.
Upgrade to D10, D11, the submodules are invisible.
Add an update hook in workflow.install file.
/**
* Removes obsolete submodules.
*/
function workflow_update_8013(&$sandbox) {
if (version_compare(\Drupal::VERSION, '11.0', '>=')) {
\Drupal::service('module_installer')->uninstall(['workflowfield']);
\Drupal::service('module_installer')->uninstall(['workflow_operations']);
\Drupal::service('module_installer')->uninstall(['workflow_ui']);
}
Comments
Comment #3
johnv