Problem/Motivation
Spin off from #2835545: Provide a Workflow FieldType that references a workflow entity and tracks the current state of an entity. Content moderation doesn't work very well with multiple workflows and moderation states for a single entity.
- What can be done to make this work better?
- Should it be an API level thing or work from the UI?
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2846993-5.patch | 48.85 KB | timmillwood |
| #5 | interdiff.txt | 38.85 KB | timmillwood |
Comments
Comment #2
timmillwoodHere's my initial patch.
I'm currently working on a "ModerationStateItem" field type. However not sure on the property definitions to provide the best developer experience of setting and getting moderation states.
Comment #4
timmillwoodComment #5
timmillwoodMore work in progress stuff.
Think we need to get #2847077: Change the Content Moderation dropbutton to checkboxes done before this will work properly.
Comment #6
timmillwoodForgot about #2753717: Add select field to choose moderation state on entity forms
Comment #10
xjmThe summary seems to indicate this is possible but "doesn't work very well", but in #2906892: Only one workflow can be applied to a given bundle, but there is no indication in the UI I noticed that it did not seem to be possible (which seems like a sensible restriction at least for now). Has this changed in the meanwhile?
Comment #22
geek-merlinSo nice if that'd be possible.
Comment #24
amateescu commentedThis is a duplicate of #3057946: [PP-1] Move content moderation information to a base field of the entity being moderated at this point :)