diff --git a/core/modules/content_moderation/config/install/workflows.workflow.editorial.yml b/core/modules/content_moderation/config/install/workflows.workflow.editorial.yml index 455d3fce38e1cd439ad6975c1b8eeaf2c6120f8c..52dbc27542daa9829276bb3fb592537c4f169d89 100644 --- a/core/modules/content_moderation/config/install/workflows.workflow.editorial.yml +++ b/core/modules/content_moderation/config/install/workflows.workflow.editorial.yml @@ -24,20 +24,6 @@ type_settings: default_revision: true weight: 0 transitions: - create_new_draft: - label: 'Create New Draft' - to: draft - weight: 0 - from: - - draft - - published - publish: - label: Publish - to: published - weight: 1 - from: - - draft - - published archive: label: Archive from: @@ -56,4 +42,18 @@ type_settings: - archived to: published weight: 4 + create_new_draft: + label: 'Create New Draft' + to: draft + weight: 0 + from: + - draft + - published + publish: + label: Publish + to: published + weight: 1 + from: + - draft + - published entity_types: { } diff --git a/core/modules/content_moderation/config/schema/content_moderation.schema.yml b/core/modules/content_moderation/config/schema/content_moderation.schema.yml index d38e8584964e6e1849910284fec83434bf6202e3..5a10d85e9e056aaaee0b9f30ecb9ffba662e787a 100644 --- a/core/modules/content_moderation/config/schema/content_moderation.schema.yml +++ b/core/modules/content_moderation/config/schema/content_moderation.schema.yml @@ -22,11 +22,13 @@ workflow.type_settings.content_moderation: states: type: sequence label: 'Content moderation states' + orderby: key sequence: type: content_moderation.state label: 'States' transitions: type: sequence + orderby: key sequence: type: workflows.transition label: 'Transitions'