Kaynağa Gözat

espace presse archi de contenu

bach 2 yıl önce
ebeveyn
işleme
39c011aac7
20 değiştirilmiş dosya ile 400 ekleme ve 4 silme
  1. 39 4
      config/sync/core.entity_form_display.node.static.default.yml
  2. 12 0
      config/sync/core.entity_form_display.paragraph.doc_and_thumb.default.yml
  3. 44 0
      config/sync/core.entity_form_display.paragraph.groupe_document.default.yml
  4. 9 0
      config/sync/core.entity_form_display.paragraph.textes.default.yml
  5. 10 0
      config/sync/core.entity_view_display.node.static.default.yml
  6. 2 0
      config/sync/core.entity_view_display.node.static.full.yml
  7. 2 0
      config/sync/core.entity_view_display.node.static.teaser.yml
  8. 9 0
      config/sync/core.entity_view_display.paragraph.doc_and_thumb.default.yml
  9. 34 0
      config/sync/core.entity_view_display.paragraph.groupe_document.default.yml
  10. 2 0
      config/sync/core.entity_view_display.paragraph.textes.accroche.yml
  11. 10 0
      config/sync/core.entity_view_display.paragraph.textes.default.yml
  12. 2 0
      config/sync/core.entity_view_display.paragraph.textes.preview.yml
  13. 52 0
      config/sync/field.field.node.static.field_groupe_documents.yml
  14. 23 0
      config/sync/field.field.paragraph.doc_and_thumb.field_texte.yml
  15. 52 0
      config/sync/field.field.paragraph.groupe_document.field_documents.yml
  16. 19 0
      config/sync/field.field.paragraph.groupe_document.field_titre.yml
  17. 27 0
      config/sync/field.field.paragraph.textes.field_document.yml
  18. 21 0
      config/sync/field.storage.node.field_groupe_documents.yml
  19. 20 0
      config/sync/field.storage.paragraph.field_documents.yml
  20. 11 0
      config/sync/paragraphs.paragraphs_type.groupe_document.yml

+ 39 - 4
config/sync/core.entity_form_display.node.static.default.yml

@@ -5,6 +5,7 @@ dependencies:
   config:
     - field.field.node.static.body
     - field.field.node.static.field_equipes
+    - field.field.node.static.field_groupe_documents
     - field.field.node.static.field_lien
     - field.field.node.static.field_memo
     - field.field.node.static.field_page_statique_liees
@@ -43,6 +44,7 @@ third_party_settings:
     group_tabs:
       children:
         - group_textes
+        - group_documents
         - group_liens
         - group_equipes
         - group_partenaires
@@ -76,7 +78,7 @@ third_party_settings:
       label: Media
       region: content
       parent_name: group_tabs
-      weight: 21
+      weight: 25
       format_type: tab
       format_settings:
         classes: ''
@@ -91,7 +93,7 @@ third_party_settings:
       label: Liens
       region: content
       parent_name: group_tabs
-      weight: 20
+      weight: 22
       format_type: tab
       format_settings:
         classes: ''
@@ -105,7 +107,7 @@ third_party_settings:
       label: Équipes
       region: content
       parent_name: group_tabs
-      weight: 20
+      weight: 23
       format_type: tab
       format_settings:
         classes: ''
@@ -119,10 +121,25 @@ third_party_settings:
       label: Partenaires
       region: content
       parent_name: group_tabs
-      weight: 20
+      weight: 24
+      format_type: tab
+      format_settings:
+        classes: ''
+        id: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+    group_documents:
+      children:
+        - field_groupe_documents
+      label: Documents
+      region: content
+      parent_name: group_tabs
+      weight: 21
       format_type: tab
       format_settings:
         classes: ''
+        show_empty_fields: true
         id: ''
         formatter: closed
         description: ''
@@ -150,6 +167,24 @@ content:
       form_display_mode: default
       default_paragraph_type: ''
     third_party_settings: {  }
+  field_groupe_documents:
+    type: paragraphs
+    weight: 27
+    region: content
+    settings:
+      title: Paragraph
+      title_plural: Paragraphs
+      edit_mode: open
+      closed_mode: summary
+      autocollapse: none
+      closed_mode_threshold: 0
+      add_mode: dropdown
+      form_display_mode: default
+      default_paragraph_type: ''
+      features:
+        collapse_edit_all: collapse_edit_all
+        duplicate: duplicate
+    third_party_settings: {  }
   field_lien:
     type: link_default
     weight: 9

+ 12 - 0
config/sync/core.entity_form_display.paragraph.doc_and_thumb.default.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - field.field.paragraph.doc_and_thumb.field_document
+    - field.field.paragraph.doc_and_thumb.field_texte
     - field.field.paragraph.doc_and_thumb.field_titre
     - field.field.paragraph.doc_and_thumb.field_vignette
     - image.style.thumbnail
@@ -11,6 +12,7 @@ dependencies:
   module:
     - file
     - image
+    - text
 id: paragraph.doc_and_thumb.default
 targetEntityType: paragraph
 bundle: doc_and_thumb
@@ -23,6 +25,16 @@ content:
     settings:
       progress_indicator: throbber
     third_party_settings: {  }
+  field_texte:
+    type: text_textarea_with_summary
+    weight: 3
+    region: content
+    settings:
+      rows: 9
+      summary_rows: 3
+      placeholder: ''
+      show_summary: false
+    third_party_settings: {  }
   field_titre:
     type: string_textfield
     weight: 1

+ 44 - 0
config/sync/core.entity_form_display.paragraph.groupe_document.default.yml

@@ -0,0 +1,44 @@
+uuid: 9d686343-17ec-41e7-a445-ee0ce6c9bcfa
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.field.paragraph.groupe_document.field_documents
+    - field.field.paragraph.groupe_document.field_titre
+    - paragraphs.paragraphs_type.groupe_document
+  module:
+    - paragraphs
+id: paragraph.groupe_document.default
+targetEntityType: paragraph
+bundle: groupe_document
+mode: default
+content:
+  field_documents:
+    type: paragraphs
+    weight: 1
+    region: content
+    settings:
+      title: Paragraph
+      title_plural: Paragraphs
+      edit_mode: open
+      closed_mode: summary
+      autocollapse: none
+      closed_mode_threshold: 0
+      add_mode: dropdown
+      form_display_mode: default
+      default_paragraph_type: ''
+      features:
+        collapse_edit_all: collapse_edit_all
+        duplicate: duplicate
+    third_party_settings: {  }
+  field_titre:
+    type: string_textfield
+    weight: 0
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+hidden:
+  created: true
+  status: true

+ 9 - 0
config/sync/core.entity_form_display.paragraph.textes.default.yml

@@ -3,12 +3,14 @@ langcode: fr
 status: true
 dependencies:
   config:
+    - field.field.paragraph.textes.field_document
     - field.field.paragraph.textes.field_photo
     - field.field.paragraph.textes.field_texte
     - field.field.paragraph.textes.field_titre
     - image.style.thumbnail
     - paragraphs.paragraphs_type.textes
   module:
+    - file
     - image
     - text
 id: paragraph.textes.default
@@ -16,6 +18,13 @@ targetEntityType: paragraph
 bundle: textes
 mode: default
 content:
+  field_document:
+    type: file_generic
+    weight: 3
+    region: content
+    settings:
+      progress_indicator: throbber
+    third_party_settings: {  }
   field_photo:
     type: image_image
     weight: 2

+ 10 - 0
config/sync/core.entity_view_display.node.static.default.yml

@@ -5,6 +5,7 @@ dependencies:
   config:
     - field.field.node.static.body
     - field.field.node.static.field_equipes
+    - field.field.node.static.field_groupe_documents
     - field.field.node.static.field_lien
     - field.field.node.static.field_memo
     - field.field.node.static.field_page_statique_liees
@@ -48,6 +49,15 @@ content:
     third_party_settings: {  }
     weight: 5
     region: content
+  field_groupe_documents:
+    type: entity_reference_revisions_entity_view
+    label: above
+    settings:
+      view_mode: default
+      link: ''
+    third_party_settings: {  }
+    weight: 7
+    region: content
   field_page_statique_liees:
     type: entity_reference_label
     label: hidden

+ 2 - 0
config/sync/core.entity_view_display.node.static.full.yml

@@ -6,6 +6,7 @@ dependencies:
     - core.entity_view_mode.node.full
     - field.field.node.static.body
     - field.field.node.static.field_equipes
+    - field.field.node.static.field_groupe_documents
     - field.field.node.static.field_lien
     - field.field.node.static.field_memo
     - field.field.node.static.field_page_statique_liees
@@ -102,6 +103,7 @@ content:
     weight: 2
     region: content
 hidden:
+  field_groupe_documents: true
   field_memo: true
   field_poid: true
   langcode: true

+ 2 - 0
config/sync/core.entity_view_display.node.static.teaser.yml

@@ -6,6 +6,7 @@ dependencies:
     - core.entity_view_mode.node.teaser
     - field.field.node.static.body
     - field.field.node.static.field_equipes
+    - field.field.node.static.field_groupe_documents
     - field.field.node.static.field_lien
     - field.field.node.static.field_memo
     - field.field.node.static.field_page_statique_liees
@@ -48,6 +49,7 @@ content:
 hidden:
   body: true
   field_equipes: true
+  field_groupe_documents: true
   field_lien: true
   field_memo: true
   field_page_statique_liees: true

+ 9 - 0
config/sync/core.entity_view_display.paragraph.doc_and_thumb.default.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - field.field.paragraph.doc_and_thumb.field_document
+    - field.field.paragraph.doc_and_thumb.field_texte
     - field.field.paragraph.doc_and_thumb.field_titre
     - field.field.paragraph.doc_and_thumb.field_vignette
     - image.style.medium
@@ -11,6 +12,7 @@ dependencies:
   module:
     - file
     - image
+    - text
 id: paragraph.doc_and_thumb.default
 targetEntityType: paragraph
 bundle: doc_and_thumb
@@ -24,6 +26,13 @@ content:
     third_party_settings: {  }
     weight: 2
     region: content
+  field_texte:
+    type: text_default
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    weight: 3
+    region: content
   field_titre:
     type: string
     label: visually_hidden

+ 34 - 0
config/sync/core.entity_view_display.paragraph.groupe_document.default.yml

@@ -0,0 +1,34 @@
+uuid: e75b81cf-9f63-4c33-a1dc-c9eddf8ade63
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.field.paragraph.groupe_document.field_documents
+    - field.field.paragraph.groupe_document.field_titre
+    - paragraphs.paragraphs_type.groupe_document
+  module:
+    - entity_reference_revisions
+id: paragraph.groupe_document.default
+targetEntityType: paragraph
+bundle: groupe_document
+mode: default
+content:
+  field_documents:
+    type: entity_reference_revisions_entity_view
+    label: above
+    settings:
+      view_mode: default
+      link: ''
+    third_party_settings: {  }
+    weight: 1
+    region: content
+  field_titre:
+    type: string
+    label: above
+    settings:
+      link_to_entity: false
+    third_party_settings: {  }
+    weight: 0
+    region: content
+hidden:
+  search_api_excerpt: true

+ 2 - 0
config/sync/core.entity_view_display.paragraph.textes.accroche.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - core.entity_view_mode.paragraph.accroche
+    - field.field.paragraph.textes.field_document
     - field.field.paragraph.textes.field_photo
     - field.field.paragraph.textes.field_texte
     - field.field.paragraph.textes.field_titre
@@ -24,6 +25,7 @@ content:
     weight: 0
     region: content
 hidden:
+  field_document: true
   field_photo: true
   field_titre: true
   search_api_excerpt: true

+ 10 - 0
config/sync/core.entity_view_display.paragraph.textes.default.yml

@@ -3,11 +3,13 @@ langcode: fr
 status: true
 dependencies:
   config:
+    - field.field.paragraph.textes.field_document
     - field.field.paragraph.textes.field_photo
     - field.field.paragraph.textes.field_texte
     - field.field.paragraph.textes.field_titre
     - paragraphs.paragraphs_type.textes
   module:
+    - file
     - image
     - text
 id: paragraph.textes.default
@@ -15,6 +17,14 @@ targetEntityType: paragraph
 bundle: textes
 mode: default
 content:
+  field_document:
+    type: file_default
+    label: above
+    settings:
+      use_description_as_link_text: true
+    third_party_settings: {  }
+    weight: 3
+    region: content
   field_photo:
     type: image
     label: hidden

+ 2 - 0
config/sync/core.entity_view_display.paragraph.textes.preview.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - core.entity_view_mode.paragraph.preview
+    - field.field.paragraph.textes.field_document
     - field.field.paragraph.textes.field_photo
     - field.field.paragraph.textes.field_texte
     - field.field.paragraph.textes.field_titre
@@ -22,6 +23,7 @@ content:
     weight: 0
     region: content
 hidden:
+  field_document: true
   field_photo: true
   field_texte: true
   search_api_excerpt: true

+ 52 - 0
config/sync/field.field.node.static.field_groupe_documents.yml

@@ -0,0 +1,52 @@
+uuid: af4d5940-af48-4a50-8a45-f7d85aa0773b
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_groupe_documents
+    - node.type.static
+    - paragraphs.paragraphs_type.groupe_document
+  module:
+    - entity_reference_revisions
+id: node.static.field_groupe_documents
+field_name: field_groupe_documents
+entity_type: node
+bundle: static
+label: 'Groupe Documents'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:paragraph'
+  handler_settings:
+    target_bundles:
+      groupe_document: groupe_document
+    negate: 0
+    target_bundles_drag_drop:
+      doc_and_thumb:
+        weight: 10
+        enabled: false
+      equipes:
+        weight: 11
+        enabled: false
+      groupe_document:
+        weight: 9
+        enabled: true
+      partenaires:
+        weight: 12
+        enabled: false
+      personne:
+        weight: 13
+        enabled: false
+      sous_partie_programme:
+        weight: 14
+        enabled: false
+      sous_partie_programme_contents:
+        weight: 15
+        enabled: false
+      textes:
+        weight: 16
+        enabled: false
+field_type: entity_reference_revisions

+ 23 - 0
config/sync/field.field.paragraph.doc_and_thumb.field_texte.yml

@@ -0,0 +1,23 @@
+uuid: 2b48b4a2-0982-4ad2-a325-1018286f74ca
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.paragraph.field_texte
+    - paragraphs.paragraphs_type.doc_and_thumb
+  module:
+    - text
+id: paragraph.doc_and_thumb.field_texte
+field_name: field_texte
+entity_type: paragraph
+bundle: doc_and_thumb
+label: Texte
+description: ''
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings:
+  display_summary: false
+  required_summary: false
+field_type: text_with_summary

+ 52 - 0
config/sync/field.field.paragraph.groupe_document.field_documents.yml

@@ -0,0 +1,52 @@
+uuid: 1b24edce-51b2-49a0-9362-3f0ef867a4aa
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.paragraph.field_documents
+    - paragraphs.paragraphs_type.doc_and_thumb
+    - paragraphs.paragraphs_type.groupe_document
+  module:
+    - entity_reference_revisions
+id: paragraph.groupe_document.field_documents
+field_name: field_documents
+entity_type: paragraph
+bundle: groupe_document
+label: Documents
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:paragraph'
+  handler_settings:
+    target_bundles:
+      doc_and_thumb: doc_and_thumb
+    negate: 0
+    target_bundles_drag_drop:
+      doc_and_thumb:
+        weight: 10
+        enabled: true
+      equipes:
+        weight: 11
+        enabled: false
+      groupe_document:
+        weight: 9
+        enabled: false
+      partenaires:
+        weight: 12
+        enabled: false
+      personne:
+        weight: 13
+        enabled: false
+      sous_partie_programme:
+        weight: 14
+        enabled: false
+      sous_partie_programme_contents:
+        weight: 15
+        enabled: false
+      textes:
+        weight: 16
+        enabled: false
+field_type: entity_reference_revisions

+ 19 - 0
config/sync/field.field.paragraph.groupe_document.field_titre.yml

@@ -0,0 +1,19 @@
+uuid: 3664725a-c78d-4519-8d32-a9d57e895826
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.paragraph.field_titre
+    - paragraphs.paragraphs_type.groupe_document
+id: paragraph.groupe_document.field_titre
+field_name: field_titre
+entity_type: paragraph
+bundle: groupe_document
+label: Titre
+description: ''
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 27 - 0
config/sync/field.field.paragraph.textes.field_document.yml

@@ -0,0 +1,27 @@
+uuid: f9f7484f-5223-4116-a4ee-8a5b396d5e3e
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.paragraph.field_document
+    - paragraphs.paragraphs_type.textes
+  module:
+    - file
+id: paragraph.textes.field_document
+field_name: field_document
+entity_type: paragraph
+bundle: textes
+label: Document
+description: ''
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:file'
+  handler_settings: {  }
+  file_directory: '[date:custom:Y]-[date:custom:m]'
+  file_extensions: 'txt pdf doc docx obs png jpg'
+  max_filesize: ''
+  description_field: true
+field_type: file

+ 21 - 0
config/sync/field.storage.node.field_groupe_documents.yml

@@ -0,0 +1,21 @@
+uuid: 788d4768-b366-47f1-9fcf-7ed958e22272
+langcode: fr
+status: true
+dependencies:
+  module:
+    - entity_reference_revisions
+    - node
+    - paragraphs
+id: node.field_groupe_documents
+field_name: field_groupe_documents
+entity_type: node
+type: entity_reference_revisions
+settings:
+  target_type: paragraph
+module: entity_reference_revisions
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 20 - 0
config/sync/field.storage.paragraph.field_documents.yml

@@ -0,0 +1,20 @@
+uuid: beab7d1d-d303-4c39-baa3-0bcf37fe9388
+langcode: fr
+status: true
+dependencies:
+  module:
+    - entity_reference_revisions
+    - paragraphs
+id: paragraph.field_documents
+field_name: field_documents
+entity_type: paragraph
+type: entity_reference_revisions
+settings:
+  target_type: paragraph
+module: entity_reference_revisions
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 11 - 0
config/sync/paragraphs.paragraphs_type.groupe_document.yml

@@ -0,0 +1,11 @@
+uuid: cfde7ce5-2aa2-47f7-af3e-a0eb22ee8d78
+langcode: fr
+status: true
+dependencies: {  }
+id: groupe_document
+label: 'Groupe Document'
+icon_uuid: null
+icon_default: null
+description: 'pour espace presse, groupe de paragraphe "doc and thumb"'
+save_empty: false
+behavior_plugins: {  }