Prechádzať zdrojové kódy

restored qu'est-ce que popsu home #1434

bach 3 rokov pred
rodič
commit
3ddd9d9427

+ 29 - 0
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

+ 6 - 6
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

+ 10 - 0
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

+ 1 - 1
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