Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi Fago,
Again, with relation to the Node lock, here's a problem I have:
I'd like to invoke an action when user tries to revert/ delete a node revision that is locked.
However, the revisions themselves are not set to the CCL links, so the machine state is not passed.
I think of two options:
1. create a checkbox in the CCL settings - "change state for revision as well".
2. The current revision state should pass to WF-ng
what do you think?
Comments
Comment #1
fagohm, the state is already stored for a revision, not for a whole node. so it's possible that different revisions have different states. So what you would need is probably a possiblilty to get the "active revision's" node object...
Comment #2
amitaibushould I - try to :P - implement it through a new module, or should try to find a wf-ng solution for this?