ezcontent-8.x-dev/config/install/workflows.workflow.default.yml
config/install/workflows.workflow.default.yml
langcode: en
status: true
dependencies:
config:
- node.type.article
- node.type.page
module:
- content_moderation
id: default
label: Default
type: content_moderation
type_settings:
states:
archived:
published: false
default_revision: true
label: Archived
weight: -2
draft:
label: Draft
published: false
default_revision: false
weight: -1
needs_review:
published: false
default_revision: false
label: 'Needs Review'
weight: 0
published:
label: Published
published: true
default_revision: true
weight: 1
transitions:
archived_to_draft:
label: 'Un-archive to Draft'
from:
- archived
to: draft
weight: -2
archived_to_published:
label: 'Un-archive to Published'
from:
- archived
to: published
weight: -1
archived_to_review:
label: 'Un-archive to Review'
from:
- archived
to: needs_review
weight: -3
create_new_draft:
label: 'Create New Draft'
to: draft
weight: -4
from:
- draft
- published
draft_need_review:
label: 'Need Review'
from:
- draft
to: needs_review
weight: 0
publish:
label: Publish
to: published
weight: 1
from:
- draft
- published
published_archive:
label: Archive
from:
- published
to: archived
weight: 2
review_archived:
label: 'Review to Archive'
from:
- needs_review
to: archived
weight: 5
review_draft:
label: 'Review to Draft'
from:
- needs_review
to: draft
weight: 4
review_published:
label: Publish
from:
- needs_review
to: published
weight: 3
default_moderation_state: draft
entity_types:
node:
- article
- page
