- Status changed to Closed: outdated
about 1 month ago 3:12pm 7 March 2025 - 🇳🇱Netherlands johnv
Thisis fixed in 🐛 Fix Actions in v1.9 and D11.2 Active
The Workflow module provides the following Actions, already since D7 versions:
- Change a node to new (given) Workflow state
- Change a node to next Workflow state
They should also work with the contrib
Views Bulk Operations (VBO) →
module.
In D7, These actions were implemented in submodule workflow_actions.
The actions can be found under admin/config/system/actions .
However, the submodule workflow_actions does not provide actions - it provides triggers. So, when porting to D8, rename the module to 'workflow_trigger'.
The triggers can be seen under /admin/structure/trigger/node, and consists of a list of entries like:
Trigger: When node <node_type> moves <field_name> from <from-state> to <to_state>
Trigger module is removed from core. See
#764558: Remove Trigger module from core →
and
https://www.drupal.org/project/trigger →
for the current status.
In D8, both actions are ported as an Action plugin in workflow/src/Plugin/Action.
They can be found under admin/config/system/actions when enabling the core Actions module.
The Actions UI module is deprecated in Drupal 10.3 and will be removed from Drupal 11.0 →
.
- Action UI → module as per 10.3.
In D9, when testing, some errors were found, and also a lot of @todo code.
- config was not written;
- schema.yml files are not complete;
- only applicalbe for 'node' entity types;
- etc.
In D11,
How does this influence the defined Actions in the Workflow module?
Conclusion: let's drop this submodule for now. Probably you can do the same using Rules and/or using the hook_entity_api.
See workflow.api.php
Postponed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thisis fixed in 🐛 Fix Actions in v1.9 and D11.2 Active