From 3ddd9d942706130739cc9f108220df4be530f64d Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 25 Aug 2021 22:47:29 +0200 Subject: [PATCH] restored qu'est-ce que popsu home #1434 --- ...view_display.paragraph.textes.accroche.yml | 29 +++++++++++++++++++ ..._view_display.paragraph.textes.default.yml | 12 ++++---- ...re.entity_view_mode.paragraph.accroche.yml | 10 +++++++ config/sync/views.view.home_blocks.yml | 2 +- 4 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 config/sync/core.entity_view_display.paragraph.textes.accroche.yml create mode 100644 config/sync/core.entity_view_mode.paragraph.accroche.yml diff --git a/config/sync/core.entity_view_display.paragraph.textes.accroche.yml b/config/sync/core.entity_view_display.paragraph.textes.accroche.yml new file mode 100644 index 00000000..5fdc5bc3 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.textes.accroche.yml @@ -0,0 +1,29 @@ +uuid: 56b447d4-2eff-4153-a857-dff5dd373924 +langcode: fr +status: true +dependencies: + config: + - core.entity_view_mode.paragraph.accroche + - field.field.paragraph.textes.field_photo + - field.field.paragraph.textes.field_texte + - field.field.paragraph.textes.field_titre + - paragraphs.paragraphs_type.textes + module: + - text +id: paragraph.textes.accroche +targetEntityType: paragraph +bundle: textes +mode: accroche +content: + field_texte: + weight: 0 + label: hidden + settings: + trim_length: 600 + third_party_settings: { } + type: text_summary_or_trimmed + region: content +hidden: + field_photo: true + field_titre: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.textes.default.yml b/config/sync/core.entity_view_display.paragraph.textes.default.yml index e7676278..3f8f8903 100644 --- a/config/sync/core.entity_view_display.paragraph.textes.default.yml +++ b/config/sync/core.entity_view_display.paragraph.textes.default.yml @@ -16,14 +16,14 @@ bundle: textes mode: default content: field_photo: + type: image weight: 2 - label: hidden + region: content + label: above settings: image_style: '' image_link: '' third_party_settings: { } - type: image - region: content field_texte: weight: 1 label: hidden @@ -32,12 +32,12 @@ content: type: text_default region: content field_titre: + type: string weight: 0 - label: hidden + region: content + label: above settings: link_to_entity: false third_party_settings: { } - type: string - region: content hidden: search_api_excerpt: true diff --git a/config/sync/core.entity_view_mode.paragraph.accroche.yml b/config/sync/core.entity_view_mode.paragraph.accroche.yml new file mode 100644 index 00000000..26727a8a --- /dev/null +++ b/config/sync/core.entity_view_mode.paragraph.accroche.yml @@ -0,0 +1,10 @@ +uuid: 1d8eaea8-3436-45e0-80ce-c63d59ee19a1 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.accroche +label: accroche +targetEntityType: paragraph +cache: true diff --git a/config/sync/views.view.home_blocks.yml b/config/sync/views.view.home_blocks.yml index f151bfaa..33ea2fcf 100644 --- a/config/sync/views.view.home_blocks.yml +++ b/config/sync/views.view.home_blocks.yml @@ -1387,7 +1387,7 @@ display: click_sort_column: target_id type: entity_reference_revisions_entity_view settings: - view_mode: preview + view_mode: accroche group_column: '' group_columns: { } group_rows: true