Closed (works as designed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
content_moderation.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2018 at 11:00 UTC
Updated:
8 Jan 2019 at 02:39 UTC
Jump to comment: Most recent
Comments
Comment #2
cilefen commentedI am asking seriously: In what use-cases do those assumptions become unsuitable?
Comment #3
cilefen commented#2844594: Default workflow states and transitions
Comment #4
sam152 commentedThese default states are essential when enabling content moderation on bundles that have a lot of existing content. In order to choose a set of appropriate transitions for the user, the content needs to be assigned some starting state. For all existing content, it made sense to allocate these to "draft" and "published" for content that was already "draft" or "published" in the non-moderated sense.
You can actually cut both of these states out of your workflow entirely by setting a new "default state" at the bottom of the workflow form, and then creating transitions to your own states from that point forward. You could also delete any transitions to "published" and "draft", allowing you to essentially never allow the user to return to those two states if they aren't relevant for your workflow.
At this point, without addressing that fundamental use case of assigning existing content to a workflow, these states have to stick around.
Please reopen if you think this needs any further clarification or discussion.