Update core 8.3.0

This commit is contained in:
Rob Davies 2017-04-13 15:53:35 +01:00
parent da7a7918f8
commit cd7a898e66
6144 changed files with 132297 additions and 87747 deletions

View file

@ -1,8 +0,0 @@
langcode: en
status: true
dependencies: { }
id: archived
label: Archived
published: false
default_revision: true
weight: -8

View file

@ -1,8 +0,0 @@
langcode: en
status: true
dependencies: { }
id: draft
label: Draft
published: false
default_revision: false
weight: -10

View file

@ -1,8 +0,0 @@
langcode: en
status: true
dependencies: { }
id: published
label: Published
published: true
default_revision: true
weight: -9

View file

@ -1,11 +0,0 @@
langcode: en
status: true
dependencies:
config:
- content_moderation.state.archived
- content_moderation.state.draft
id: archived_draft
label: 'Un-archive to Draft'
stateFrom: archived
stateTo: draft
weight: -5

View file

@ -1,11 +0,0 @@
langcode: en
status: true
dependencies:
config:
- content_moderation.state.archived
- content_moderation.state.published
id: archived_published
label: 'Un-archive'
stateFrom: archived
stateTo: published
weight: -4

View file

@ -1,10 +0,0 @@
langcode: en
status: true
dependencies:
config:
- content_moderation.state.draft
id: draft_draft
label: 'Create New Draft'
stateFrom: draft
stateTo: draft
weight: -10

View file

@ -1,11 +0,0 @@
langcode: en
status: true
dependencies:
config:
- content_moderation.state.draft
- content_moderation.state.published
id: draft_published
label: 'Publish'
stateFrom: draft
stateTo: published
weight: -9

View file

@ -1,11 +0,0 @@
langcode: en
status: true
dependencies:
config:
- content_moderation.state.archived
- content_moderation.state.published
id: published_archived
label: 'Archive'
stateFrom: published
stateTo: archived
weight: -6

View file

@ -1,11 +0,0 @@
langcode: en
status: true
dependencies:
config:
- content_moderation.state.draft
- content_moderation.state.published
id: published_draft
label: 'Create New Draft'
stateFrom: published
stateTo: draft
weight: -8

View file

@ -1,10 +0,0 @@
langcode: en
status: true
dependencies:
config:
- content_moderation.state.published
id: published_published
label: 'Publish'
stateFrom: published
stateTo: published
weight: -7

View file

@ -0,0 +1,63 @@
langcode: en
status: true
dependencies:
module:
- content_moderation
id: editorial
label: 'Editorial workflow'
states:
archived:
label: Archived
weight: 5
draft:
label: Draft
weight: -5
published:
label: Published
weight: 0
transitions:
archive:
label: Archive
from:
- published
to: archived
weight: 2
archived_draft:
label: 'Restore to Draft'
from:
- archived
to: draft
weight: 3
archived_published:
label: Restore
from:
- archived
to: published
weight: 4
create_new_draft:
label: 'Create New Draft'
from:
- draft
- published
to: draft
weight: 0
publish:
label: Publish
from:
- draft
- published
to: published
weight: 1
type: content_moderation
type_settings:
states:
archived:
published: false
default_revision: true
draft:
published: false
default_revision: false
published:
published: true
default_revision: true
entity_types: { }

View file

@ -1,75 +1,3 @@
content_moderation.state.*:
type: config_entity
label: 'Moderation state config'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'Label'
published:
type: boolean
label: 'Is published'
default_revision:
type: boolean
label: 'Is default revision'
weight:
type: integer
label: 'Weight'
content_moderation.state_transition.*:
type: config_entity
label: 'Moderation state transition config'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'Label'
stateFrom:
type: string
label: 'From state'
stateTo:
type: string
label: 'To state'
weight:
type: integer
label: 'Weight'
node.type.*.third_party.content_moderation:
type: mapping
label: 'Enable moderation states for this node type'
mapping:
enabled:
type: boolean
label: 'Moderation states enabled'
allowed_moderation_states:
type: sequence
sequence:
type: string
label: 'Moderation state'
default_moderation_state:
type: string
label: 'Moderation state for new content'
block_content.type.*.third_party.content_moderation:
type: mapping
label: 'Enable moderation states for this block content type'
mapping:
enabled:
type: boolean
label: 'Moderation states enabled'
allowed_moderation_states:
type: sequence
sequence:
type: string
label: 'Moderation state'
default_moderation_state:
type: string
label: 'Moderation state for new block content'
views.filter.latest_revision:
type: views_filter
label: 'Latest revision'
@ -77,3 +5,29 @@ views.filter.latest_revision:
value:
type: string
label: 'Value'
workflow.type_settings.content_moderation:
type: mapping
mapping:
states:
type: sequence
label: 'Additional state configuration for content moderation'
sequence:
type: mapping
label: 'States'
mapping:
published:
type: boolean
label: 'Is published'
default_revision:
type: boolean
label: 'Is default revision'
entity_types:
type: sequence
label: 'Entity types'
sequence:
type: sequence
label: 'Bundles'
sequence:
type: string
label: 'Bundle ID'