Commit 8dc4c5a2 authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #2953376 by Eli-T, anmolgoyal74, John Cook, chr.fritsch, markconroy:...

Issue #2953376 by Eli-T, anmolgoyal74, John Cook, chr.fritsch, markconroy: Adopt Content Moderation in Umami
parent 76fdebab
...@@ -56,4 +56,5 @@ content: ...@@ -56,4 +56,5 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -28,4 +28,5 @@ content: ...@@ -28,4 +28,5 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -36,4 +36,5 @@ content: ...@@ -36,4 +36,5 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -56,4 +56,5 @@ content: ...@@ -56,4 +56,5 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -55,4 +55,5 @@ content: ...@@ -55,4 +55,5 @@ content:
placeholder: '' placeholder: ''
region: content region: content
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -55,4 +55,5 @@ content: ...@@ -55,4 +55,5 @@ content:
placeholder: '' placeholder: ''
region: content region: content
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -57,4 +57,5 @@ content: ...@@ -57,4 +57,5 @@ content:
placeholder: '' placeholder: ''
region: content region: content
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -41,7 +41,7 @@ content: ...@@ -41,7 +41,7 @@ content:
third_party_settings: { } third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 5 weight: 4
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
...@@ -49,4 +49,5 @@ content: ...@@ -49,4 +49,5 @@ content:
region: content region: content
third_party_settings: { } third_party_settings: { }
hidden: hidden:
moderation_state: true
name: true name: true
...@@ -55,4 +55,5 @@ content: ...@@ -55,4 +55,5 @@ content:
placeholder: '' placeholder: ''
region: content region: content
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
moderation_state: true
...@@ -8,6 +8,7 @@ dependencies: ...@@ -8,6 +8,7 @@ dependencies:
- image.style.thumbnail - image.style.thumbnail
- node.type.article - node.type.article
module: module:
- content_moderation
- image - image
- path - path
- text - text
...@@ -27,13 +28,13 @@ content: ...@@ -27,13 +28,13 @@ content:
third_party_settings: { } third_party_settings: { }
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 10 weight: 5
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_image: field_image:
type: image_image type: image_image
weight: 4 weight: 3
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
...@@ -41,13 +42,22 @@ content: ...@@ -41,13 +42,22 @@ content:
third_party_settings: { } third_party_settings: { }
field_tags: field_tags:
type: entity_reference_autocomplete_tags type: entity_reference_autocomplete_tags
weight: 3 weight: 2
region: content
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 10
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
path: path:
type: path type: path
weight: 30 weight: 8
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
...@@ -55,21 +65,21 @@ content: ...@@ -55,21 +65,21 @@ content:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 15 weight: 6
region: content region: content
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 120 weight: 9
region: content region: content
third_party_settings: { } third_party_settings: { }
sticky: sticky:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 16 weight: 7
region: content region: content
third_party_settings: { } third_party_settings: { }
title: title:
...@@ -82,7 +92,7 @@ content: ...@@ -82,7 +92,7 @@ content:
third_party_settings: { } third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 5 weight: 4
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
......
...@@ -5,6 +5,7 @@ dependencies: ...@@ -5,6 +5,7 @@ dependencies:
- field.field.node.page.body - field.field.node.page.body
- node.type.page - node.type.page
module: module:
- content_moderation
- path - path
- text - text
id: node.page.default id: node.page.default
...@@ -14,7 +15,7 @@ mode: default ...@@ -14,7 +15,7 @@ mode: default
content: content:
body: body:
type: text_textarea_with_summary type: text_textarea_with_summary
weight: 31 weight: 6
region: content region: content
settings: settings:
rows: 9 rows: 9
...@@ -23,13 +24,19 @@ content: ...@@ -23,13 +24,19 @@ content:
third_party_settings: { } third_party_settings: { }
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 10 weight: 2
region: content
settings: { }
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 8
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
path: path:
type: path type: path
weight: 30 weight: 5
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
...@@ -37,26 +44,26 @@ content: ...@@ -37,26 +44,26 @@ content:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 15 weight: 3
region: content region: content
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 120 weight: 7
region: content region: content
third_party_settings: { } third_party_settings: { }
sticky: sticky:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 16 weight: 4
region: content region: content
third_party_settings: { } third_party_settings: { }
title: title:
type: string_textfield type: string_textfield
weight: -5 weight: 0
region: content region: content
settings: settings:
size: 60 size: 60
...@@ -64,7 +71,7 @@ content: ...@@ -64,7 +71,7 @@ content:
third_party_settings: { } third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 5 weight: 1
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
......
...@@ -16,6 +16,7 @@ dependencies: ...@@ -16,6 +16,7 @@ dependencies:
- image.style.thumbnail - image.style.thumbnail
- node.type.recipe - node.type.recipe
module: module:
- content_moderation
- image - image
- path - path
- text - text
...@@ -116,6 +117,12 @@ content: ...@@ -116,6 +117,12 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete_tags type: entity_reference_autocomplete_tags
region: content region: content
moderation_state:
type: moderation_state_default
weight: 18
region: content
settings: { }
third_party_settings: { }
path: path:
type: path type: path
weight: 16 weight: 16
......
...@@ -45,4 +45,5 @@ content: ...@@ -45,4 +45,5 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
content_moderation_control: true
...@@ -46,4 +46,5 @@ content: ...@@ -46,4 +46,5 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
content_moderation_control: true
...@@ -27,5 +27,6 @@ content: ...@@ -27,5 +27,6 @@ content:
label: hidden label: hidden
hidden: hidden:
body: true body: true
content_moderation_control: true
field_tags: true field_tags: true
links: true links: true
...@@ -27,5 +27,6 @@ content: ...@@ -27,5 +27,6 @@ content:
label: hidden label: hidden
hidden: hidden:
body: true body: true
content_moderation_control: true
field_tags: true field_tags: true
links: true links: true
...@@ -27,5 +27,6 @@ content: ...@@ -27,5 +27,6 @@ content:
label: hidden label: hidden
hidden: hidden:
body: true body: true
content_moderation_control: true
field_tags: true field_tags: true
links: true links: true
...@@ -27,5 +27,6 @@ content: ...@@ -27,5 +27,6 @@ content:
label: hidden label: hidden
hidden: hidden:
body: true body: true
content_moderation_control: true
field_tags: true field_tags: true
links: true links: true
...@@ -19,5 +19,6 @@ content: ...@@ -19,5 +19,6 @@ content:
region: content region: content
hidden: hidden:
body: true body: true
content_moderation_control: true
field_image: true field_image: true
field_tags: true field_tags: true
...@@ -47,4 +47,5 @@ content: ...@@ -47,4 +47,5 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: { } hidden:
content_moderation_control: true
...@@ -22,4 +22,5 @@ content: ...@@ -22,4 +22,5 @@ content:
links: links:
weight: 101 weight: 101
region: content region: content
hidden: { } hidden:
content_moderation_control: true
...@@ -24,4 +24,5 @@ content: ...@@ -24,4 +24,5 @@ content:
links: links:
weight: 101 weight: 101
region: content region: content
hidden: { } hidden:
content_moderation_control: true
...@@ -112,4 +112,5 @@ content: ...@@ -112,4 +112,5 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: hidden:
content_moderation_control: true
field_author: true field_author: true
...@@ -113,4 +113,5 @@ content: ...@@ -113,4 +113,5 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: hidden:
content_moderation_control: true
field_author: true field_author: true
...@@ -34,6 +34,7 @@ content: ...@@ -34,6 +34,7 @@ content:
type: responsive_image type: responsive_image
region: content region: content
hidden: hidden:
content_moderation_control: true
field_author: true field_author: true
field_cooking_time: true field_cooking_time: true
field_difficulty: true field_difficulty: true
......
...@@ -47,6 +47,7 @@ content: ...@@ -47,6 +47,7 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: hidden:
content_moderation_control: true
field_author: true field_author: true
field_cooking_time: true field_cooking_time: true
field_ingredients: true field_ingredients: true
......
...@@ -47,6 +47,7 @@ content: ...@@ -47,6 +47,7 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: hidden:
content_moderation_control: true
field_author: true field_author: true
field_cooking_time: true field_cooking_time: true
field_ingredients: true field_ingredients: true
......
...@@ -34,6 +34,7 @@ content: ...@@ -34,6 +34,7 @@ content:
type: responsive_image type: responsive_image
region: content region: content
hidden: hidden:
content_moderation_control: true
field_author: true field_author: true
field_cooking_time: true field_cooking_time: true
field_difficulty: true field_difficulty: true
......
...@@ -26,6 +26,7 @@ content: ...@@ -26,6 +26,7 @@ content:
weight: 100 weight: 100
region: content region: content
hidden: hidden:
content_moderation_control: true
field_author: true field_author: true
field_cooking_time: true field_cooking_time: true
field_difficulty: true field_difficulty: true
......
langcode: en
status: true
dependencies: { }
id: author
label: Author
weight: 3
is_admin: null
permissions:
- 'access content overview'
- 'access contextual links'
- 'access files overview'
- 'access in-place editing'
- 'access toolbar'
- 'cancel account'
- 'change own username'
- 'create article content'
- 'create page content'
- 'create recipe content'
- 'create terms in ingredients'
- 'create terms in recipe_category'
- 'create terms in recipe_cuisine'
- 'create terms in tags'
- 'create url aliases'
- 'delete article revisions'
- 'delete own article content'
- 'delete own page content'
- 'delete own recipe content'
- 'delete page revisions'
- 'delete recipe revisions'
- 'delete terms in ingredients'
- 'delete terms in recipe_category'
- 'delete terms in recipe_cuisine'
- 'delete terms in tags'
- 'edit own article content'
- 'edit own page content'
- 'edit own recipe content'
- 'edit terms in ingredients'
- 'edit terms in recipe_category'
- 'edit terms in recipe_cuisine'
- 'edit terms in tags'
- 'use editorial transition create_new_draft'
- 'view all revisions'
- 'view article revisions'
- 'view latest version'
- 'view own unpublished content'
- 'view page revisions'
- 'view recipe revisions'
- 'view the administration theme'
langcode: en
status: true
dependencies: { }
id: editor
label: Editor
weight: 4
is_admin: null
permissions:
- 'access content overview'
- 'access contextual links'
- 'access files overview'
- 'access in-place editing'
- 'access toolbar'
- 'cancel account'
- 'change own username'
- 'create terms in ingredients'
- 'create terms in recipe_category'
- 'create terms in recipe_cuisine'
- 'create terms in tags'
- 'create url aliases'
- 'delete all revisions'
- 'delete any article content'
- 'delete any page content'
- 'delete any recipe content'
- 'delete article revisions'
- 'delete page revisions'
- 'delete recipe revisions'
- 'delete terms in ingredients'
- 'delete terms in recipe_category'
- 'delete terms in recipe_cuisine'
- 'delete terms in tags'
- 'edit any article content'
- 'edit any page content'
- 'edit any recipe content'
- 'edit terms in ingredients'
- 'edit terms in recipe_category'
- 'edit terms in recipe_cuisine'
- 'edit terms in tags'
- 'revert all revisions'
- 'revert article revisions'
- 'revert page revisions'
- 'revert recipe revisions'
- 'use editorial transition archive'
- 'use editorial transition archived_published'
- 'use editorial transition publish'
- 'view all revisions'
- 'view any unpublished content'
- 'view article revisions'
- 'view latest version'
- 'view page revisions'
- 'view recipe revisions'
- 'view the administration theme'