WIP: Dodaj confige.

pull/42/head
Lio Novelli 2024-01-23 23:23:08 +01:00 committed by Lio Novelli
parent 5ec525f3c1
commit 2908033b20
8 changed files with 396 additions and 2 deletions

View File

@ -23,9 +23,9 @@ content:
weight: 101
region: content
content_moderation_control:
weight: -20
settings: { }
third_party_settings: { }
weight: -20
region: content
field_media:
type: entity_reference_entity_view

View File

@ -25,9 +25,9 @@ content:
weight: 101
region: content
content_moderation_control:
weight: -20
settings: { }
third_party_settings: { }
weight: -20
region: content
links:
settings: { }

View File

@ -0,0 +1,16 @@
uuid: 2051b25b-0ca8-4406-a590-921e0d66c18d
langcode: en
status: false
dependencies:
module:
- node
enforced:
module:
- node
- diff
_core:
default_config_hash: pqZNtad5J9THcdbYjwPD4qINqvrTxnOd8KCWn6tUBRs
id: node.diff
label: 'Revision comparison'
targetEntityType: node
cache: true

View File

@ -17,6 +17,7 @@ module:
contextual: 0
datetime: 0
dblog: 0
diff: 0
dynamic_page_cache: 0
editor: 0
etherpad_api: 0

View File

@ -0,0 +1,345 @@
fields:
block_content:
langcode:
type: hidden
settings: { }
revision_created:
type: hidden
settings: { }
revision_user:
type: hidden
settings: { }
status:
type: hidden
settings: { }
info:
type: hidden
settings: { }
changed:
type: hidden
settings: { }
default_langcode:
type: hidden
settings: { }
revision_default:
type: hidden
settings: { }
revision_translation_affected:
type: hidden
settings: { }
body:
type: text_summary_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
compare_format: 0
compare_summary: 0
content_moderation_state:
langcode:
type: hidden
settings: { }
uid:
type: hidden
settings: { }
workflow:
type: hidden
settings: { }
moderation_state:
type: hidden
settings: { }
content_entity_type_id:
type: hidden
settings: { }
content_entity_id:
type: hidden
settings: { }
content_entity_revision_id:
type: hidden
settings: { }
default_langcode:
type: hidden
settings: { }
revision_default:
type: hidden
settings: { }
revision_translation_affected:
type: hidden
settings: { }
media:
langcode:
type: hidden
settings: { }
revision_created:
type: hidden
settings: { }
revision_user:
type: hidden
settings: { }
revision_log_message:
type: hidden
settings: { }
status:
type: hidden
settings: { }
uid:
type: hidden
settings: { }
name:
type: hidden
settings: { }
thumbnail:
type: image_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
show_id: 0
compare_alt_field: 1
compare_title_field: 1
property_separator: nl
show_thumbnail: 1
created:
type: hidden
settings: { }
changed:
type: hidden
settings: { }
default_langcode:
type: hidden
settings: { }
revision_default:
type: hidden
settings: { }
revision_translation_affected:
type: hidden
settings: { }
field_media_audio_file:
type: file_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
show_id: 1
compare_description_field: 0
compare_display_field: 0
property_separator: nl
field_media_document:
type: file_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
show_id: 1
compare_description_field: 0
compare_display_field: 0
property_separator: nl
field_media_image:
type: image_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
show_id: 0
compare_alt_field: 1
compare_title_field: 1
property_separator: nl
show_thumbnail: 1
field_media_oembed_video:
type: core_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
field_media_video_file:
type: file_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
show_id: 1
compare_description_field: 0
compare_display_field: 0
property_separator: nl
menu_link_content:
langcode:
type: hidden
settings: { }
revision_created:
type: hidden
settings: { }
revision_user:
type: hidden
settings: { }
revision_log_message:
type: hidden
settings: { }
enabled:
type: core_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
title:
type: core_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
description:
type: core_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
link:
type: hidden
settings: { }
external:
type: hidden
settings: { }
changed:
type: hidden
settings: { }
default_langcode:
type: hidden
settings: { }
revision_default:
type: hidden
settings: { }
revision_translation_affected:
type: hidden
settings: { }
node:
langcode:
type: hidden
settings: { }
revision_timestamp:
type: hidden
settings: { }
status:
type: hidden
settings: { }
uid:
type: entity_reference_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
compare_entity_reference: 1
title:
type: core_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
created:
type: core_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
changed:
type: hidden
settings: { }
promote:
type: hidden
settings: { }
sticky:
type: hidden
settings: { }
default_langcode:
type: hidden
settings: { }
revision_default:
type: hidden
settings: { }
revision_translation_affected:
type: hidden
settings: { }
content_translation_source:
type: hidden
settings: { }
content_translation_outdated:
type: hidden
settings: { }
body:
type: text_summary_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
compare_format: 0
compare_summary: 0
comment:
type: hidden
settings: { }
field_image:
type: image_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
show_id: 0
compare_alt_field: 1
compare_title_field: 1
property_separator: nl
show_thumbnail: 1
field_media:
type: entity_reference_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
compare_entity_reference: 1
field_related_concept:
type: entity_reference_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
compare_entity_reference: 1
field_tags:
type: entity_reference_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
compare_entity_reference: 1
path_alias:
langcode:
type: hidden
settings: { }
path:
type: hidden
settings: { }
alias:
type: hidden
settings: { }
status:
type: hidden
settings: { }
revision_default:
type: hidden
settings: { }
taxonomy_term:
langcode:
type: hidden
settings: { }
revision_created:
type: hidden
settings: { }
revision_user:
type: hidden
settings: { }
revision_log_message:
type: hidden
settings: { }
status:
type: hidden
settings: { }
name:
type: core_field_diff_builder
settings:
show_header: 1
markdown: drupal_html_to_text
description:
type: hidden
settings: { }
parent:
type: hidden
settings: { }
changed:
type: hidden
settings: { }
default_langcode:
type: hidden
settings: { }
revision_default:
type: hidden
settings: { }
revision_translation_affected:
type: hidden
settings: { }

View File

@ -0,0 +1,18 @@
_core:
default_config_hash: oXwX3NzLv9QK_LbNEvpQ9OPwH9tqtMSJzq5y8t63Q8w
general_settings:
radio_behavior: simple
context_lines_leading: 1
context_lines_trailing: 1
revision_pager_limit: 50
layout_plugins:
visual_inline:
enabled: true
weight: 0
split_fields:
enabled: true
weight: 1
unified_fields:
enabled: true
weight: 2
visual_inline_theme: default

View File

@ -19,6 +19,7 @@ dependencies:
- config_translation
- content_moderation
- content_translation
- file
- language
- locale
- media
@ -65,6 +66,7 @@ permissions:
- 'delete own audio media'
- 'delete own concept content'
- 'delete own document media'
- 'delete own files'
- 'delete own page content'
- 'delete page revisions'
- 'delete terms in tags'

View File

@ -11,6 +11,11 @@ label: 'Concept workflow'
type: content_moderation
type_settings:
states:
archived:
label: Archived
weight: 2
published: false
default_revision: false
draft:
label: Draft
weight: 0
@ -22,6 +27,13 @@ type_settings:
published: true
default_revision: true
transitions:
archive:
label: Archive
from:
- draft
- published
to: archived
weight: 2
create_new_draft:
label: 'Create New Draft'
from: