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.
I use the the submodule workflow field to set states on my entities. I would like to use the same field (same database table) for different workflows. This would enabled to easier list different node types with different workflows and show there states in views for example. This can be solved by saving the the wid (workflow id) on the field instance instead of the field base. I written a patch that makes my use case work but will probably break some of the other submodules. But it maybe a start...
Comment | File | Size | Author |
---|---|---|---|
save-workflow-wid-on-field-instance-instead-of-base.patch | 10.51 KB | StoraH | |
Comments
Comment #1
johnvSorry, this will break too many things in this stage of the project. Perhaps in D8.
Comment #2
johnvLet's not do this. We already have a common workflow_history table. In Views, you can select the current_state to select only the newest one.