From 1159e619a7f782b99f5179285d2685f37a13df9f Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 26 Jan 2026 10:32:42 +0100 Subject: [PATCH] partie teaaser display --- ...ntity_form_display.node.partie.default.yml | 111 +++++++++++++++++- ...m_display.paragraph.complement.default.yml | 44 +++++++ ...rm_display.paragraph.ressource.default.yml | 53 +++++++++ ...ity_view_display.node.chapitre.default.yml | 4 +- ...tity_view_display.node.chapitre.teaser.yml | 4 +- ...ntity_view_display.node.partie.default.yml | 37 ++++++ ...entity_view_display.node.partie.teaser.yml | 22 +++- ...w_display.paragraph.complement.default.yml | 46 ++++++++ ...ew_display.paragraph.ressource.default.yml | 56 +++++++++ ...ore.entity_view_mode.paragraph.preview.yml | 13 ++ config/sync/core.extension.yml | 2 + config/sync/editor.editor.wysiwyg.yml | 12 ++ config/sync/field.field.node.partie.body.yml | 4 +- ...ld.field.node.partie.field_en_pratique.yml | 24 ++++ ...node.partie.field_pour_aller_plus_loin.yml | 34 ++++++ ...node.partie.field_principes_reflexions.yml | 24 ++++ ...eld.field.node.partie.field_ressources.yml | 31 +++++ ...paragraph.complement.field_description.yml | 24 ++++ ...field.paragraph.complement.field_liens.yml | 23 ++++ ...field.paragraph.complement.field_titre.yml | 19 +++ ....paragraph.ressource.field_description.yml | 24 ++++ ...eld.paragraph.ressource.field_fichiers.yml | 27 +++++ ....field.paragraph.ressource.field_liens.yml | 23 ++++ ....field.paragraph.ressource.field_titre.yml | 19 +++ .../field.storage.node.field_en_pratique.yml | 19 +++ ...torage.node.field_pour_aller_plus_loin.yml | 21 ++++ ...torage.node.field_principes_reflexions.yml | 19 +++ .../field.storage.node.field_ressources.yml | 21 ++++ ...ld.storage.paragraph.field_description.yml | 19 +++ ...field.storage.paragraph.field_fichiers.yml | 23 ++++ .../field.storage.paragraph.field_liens.yml | 19 +++ .../field.storage.paragraph.field_titre.yml | 21 ++++ config/sync/filter.format.wysiwyg.yml | 20 ++++ .../paragraphs.paragraphs_type.complement.yml | 11 ++ .../paragraphs.paragraphs_type.ressource.yml | 11 ++ config/sync/paragraphs.settings.yml | 3 + 36 files changed, 878 insertions(+), 9 deletions(-) create mode 100644 config/sync/core.entity_form_display.paragraph.complement.default.yml create mode 100644 config/sync/core.entity_form_display.paragraph.ressource.default.yml create mode 100644 config/sync/core.entity_view_display.paragraph.complement.default.yml create mode 100644 config/sync/core.entity_view_display.paragraph.ressource.default.yml create mode 100644 config/sync/core.entity_view_mode.paragraph.preview.yml create mode 100644 config/sync/field.field.node.partie.field_en_pratique.yml create mode 100644 config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml create mode 100644 config/sync/field.field.node.partie.field_principes_reflexions.yml create mode 100644 config/sync/field.field.node.partie.field_ressources.yml create mode 100644 config/sync/field.field.paragraph.complement.field_description.yml create mode 100644 config/sync/field.field.paragraph.complement.field_liens.yml create mode 100644 config/sync/field.field.paragraph.complement.field_titre.yml create mode 100644 config/sync/field.field.paragraph.ressource.field_description.yml create mode 100644 config/sync/field.field.paragraph.ressource.field_fichiers.yml create mode 100644 config/sync/field.field.paragraph.ressource.field_liens.yml create mode 100644 config/sync/field.field.paragraph.ressource.field_titre.yml create mode 100644 config/sync/field.storage.node.field_en_pratique.yml create mode 100644 config/sync/field.storage.node.field_pour_aller_plus_loin.yml create mode 100644 config/sync/field.storage.node.field_principes_reflexions.yml create mode 100644 config/sync/field.storage.node.field_ressources.yml create mode 100644 config/sync/field.storage.paragraph.field_description.yml create mode 100644 config/sync/field.storage.paragraph.field_fichiers.yml create mode 100644 config/sync/field.storage.paragraph.field_liens.yml create mode 100644 config/sync/field.storage.paragraph.field_titre.yml create mode 100644 config/sync/paragraphs.paragraphs_type.complement.yml create mode 100644 config/sync/paragraphs.paragraphs_type.ressource.yml create mode 100644 config/sync/paragraphs.settings.yml diff --git a/config/sync/core.entity_form_display.node.partie.default.yml b/config/sync/core.entity_form_display.node.partie.default.yml index e2164a0..e4fc1f7 100644 --- a/config/sync/core.entity_form_display.node.partie.default.yml +++ b/config/sync/core.entity_form_display.node.partie.default.yml @@ -5,10 +5,15 @@ dependencies: config: - field.field.node.partie.body - field.field.node.partie.field_chapitre + - field.field.node.partie.field_en_pratique - field.field.node.partie.field_partie + - field.field.node.partie.field_pour_aller_plus_loin + - field.field.node.partie.field_principes_reflexions + - field.field.node.partie.field_ressources - node.type.partie module: - field_group + - paragraphs - path - text third_party_settings: @@ -16,6 +21,9 @@ third_party_settings: group_tabs: children: - group_corps + - group_principes_reflexion_en_pra + - group_ressources + - group_pour_aller_plus_loin label: Tabs region: content parent_name: '' @@ -37,7 +45,7 @@ third_party_settings: label: Details region: content parent_name: '' - weight: 4 + weight: 2 format_type: details_sidebar format_settings: classes: '' @@ -64,6 +72,55 @@ third_party_settings: formatter: open description: '' required_fields: true + group_principes_reflexion_en_pra: + children: + - field_principes_reflexions + - field_en_pratique + label: 'Principes/reflexion | En pratique' + region: hidden + parent_name: group_tabs + weight: 21 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true + group_ressources: + children: + - field_ressources + label: Ressources + region: hidden + parent_name: group_tabs + weight: 22 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true + group_pour_aller_plus_loin: + children: + - field_pour_aller_plus_loin + label: 'Pour aller plus loin' + region: hidden + parent_name: group_tabs + weight: 23 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true id: node.partie.default targetEntityType: node bundle: partie @@ -89,6 +146,14 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_en_pratique: + type: text_textarea + weight: 4 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } field_partie: type: number weight: 4 @@ -96,6 +161,50 @@ content: settings: placeholder: 'Partie numéro ...' third_party_settings: { } + field_pour_aller_plus_loin: + type: paragraphs + weight: 9 + 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_principes_reflexions: + type: text_textarea + weight: 3 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_ressources: + type: paragraphs + weight: 8 + 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: { } path: type: path weight: 6 diff --git a/config/sync/core.entity_form_display.paragraph.complement.default.yml b/config/sync/core.entity_form_display.paragraph.complement.default.yml new file mode 100644 index 0000000..5a081b9 --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.complement.default.yml @@ -0,0 +1,44 @@ +uuid: b4dc6c17-deea-403d-a521-5059ec5f1884 +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.complement.field_description + - field.field.paragraph.complement.field_liens + - field.field.paragraph.complement.field_titre + - paragraphs.paragraphs_type.complement + module: + - link + - text +id: paragraph.complement.default +targetEntityType: paragraph +bundle: complement +mode: default +content: + field_description: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_liens: + type: link_default + weight: 2 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + field_titre: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/sync/core.entity_form_display.paragraph.ressource.default.yml b/config/sync/core.entity_form_display.paragraph.ressource.default.yml new file mode 100644 index 0000000..36085d5 --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.ressource.default.yml @@ -0,0 +1,53 @@ +uuid: 99161f82-e3fa-4b00-aec7-52058bcf871e +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.ressource.field_description + - field.field.paragraph.ressource.field_fichiers + - field.field.paragraph.ressource.field_liens + - field.field.paragraph.ressource.field_titre + - paragraphs.paragraphs_type.ressource + module: + - file + - link + - text +id: paragraph.ressource.default +targetEntityType: paragraph +bundle: ressource +mode: default +content: + field_description: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_fichiers: + type: file_generic + weight: 3 + region: content + settings: + progress_indicator: throbber + third_party_settings: { } + field_liens: + type: link_default + weight: 2 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + field_titre: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/sync/core.entity_view_display.node.chapitre.default.yml b/config/sync/core.entity_view_display.node.chapitre.default.yml index 2fc4477..bc5a28a 100644 --- a/config/sync/core.entity_view_display.node.chapitre.default.yml +++ b/config/sync/core.entity_view_display.node.chapitre.default.yml @@ -35,8 +35,8 @@ content: type: entity_reference_entity_view label: visually_hidden settings: - view_mode: default - link: true + view_mode: teaser + link: false third_party_settings: { } weight: 2 region: content diff --git a/config/sync/core.entity_view_display.node.chapitre.teaser.yml b/config/sync/core.entity_view_display.node.chapitre.teaser.yml index 928a637..b17ecf0 100644 --- a/config/sync/core.entity_view_display.node.chapitre.teaser.yml +++ b/config/sync/core.entity_view_display.node.chapitre.teaser.yml @@ -22,12 +22,12 @@ content: settings: trim_length: 600 third_party_settings: { } - weight: 101 + weight: 0 region: content links: settings: { } third_party_settings: { } - weight: 100 + weight: 1 region: content hidden: field_chapitre_num: true diff --git a/config/sync/core.entity_view_display.node.partie.default.yml b/config/sync/core.entity_view_display.node.partie.default.yml index 2043fc2..ecd0c61 100644 --- a/config/sync/core.entity_view_display.node.partie.default.yml +++ b/config/sync/core.entity_view_display.node.partie.default.yml @@ -5,9 +5,14 @@ dependencies: config: - field.field.node.partie.body - field.field.node.partie.field_chapitre + - field.field.node.partie.field_en_pratique - field.field.node.partie.field_partie + - field.field.node.partie.field_pour_aller_plus_loin + - field.field.node.partie.field_principes_reflexions + - field.field.node.partie.field_ressources - node.type.partie module: + - entity_reference_revisions - text - user id: node.partie.default @@ -22,6 +27,13 @@ content: third_party_settings: { } weight: 1 region: content + field_en_pratique: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 4 + region: content field_partie: type: number_integer label: inline @@ -31,6 +43,31 @@ content: third_party_settings: { } weight: 0 region: content + field_pour_aller_plus_loin: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 6 + region: content + field_principes_reflexions: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 3 + region: content + field_ressources: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 5 + region: content links: settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_view_display.node.partie.teaser.yml b/config/sync/core.entity_view_display.node.partie.teaser.yml index f738700..87de55b 100644 --- a/config/sync/core.entity_view_display.node.partie.teaser.yml +++ b/config/sync/core.entity_view_display.node.partie.teaser.yml @@ -6,7 +6,11 @@ dependencies: - core.entity_view_mode.node.teaser - field.field.node.partie.body - field.field.node.partie.field_chapitre + - field.field.node.partie.field_en_pratique - field.field.node.partie.field_partie + - field.field.node.partie.field_pour_aller_plus_loin + - field.field.node.partie.field_principes_reflexions + - field.field.node.partie.field_ressources - node.type.partie module: - text @@ -22,15 +26,27 @@ content: settings: trim_length: 600 third_party_settings: { } - weight: 101 + weight: 1 + region: content + field_partie: + type: number_integer + label: inline + settings: + thousand_separator: '' + prefix_suffix: true + third_party_settings: { } + weight: 0 region: content links: settings: { } third_party_settings: { } - weight: 100 + weight: 2 region: content hidden: field_chapitre: true - field_partie: true + field_en_pratique: true + field_pour_aller_plus_loin: true + field_principes_reflexions: true + field_ressources: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.complement.default.yml b/config/sync/core.entity_view_display.paragraph.complement.default.yml new file mode 100644 index 0000000..8cf3650 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.complement.default.yml @@ -0,0 +1,46 @@ +uuid: 9362cdb6-96d2-4276-9025-469bd825b2e9 +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.complement.field_description + - field.field.paragraph.complement.field_liens + - field.field.paragraph.complement.field_titre + - paragraphs.paragraphs_type.complement + module: + - link + - text +id: paragraph.complement.default +targetEntityType: paragraph +bundle: complement +mode: default +content: + field_description: + type: text_default + label: visually_hidden + settings: { } + third_party_settings: { } + weight: 1 + region: content + field_liens: + type: link + label: visually_hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 2 + region: content + field_titre: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.ressource.default.yml b/config/sync/core.entity_view_display.paragraph.ressource.default.yml new file mode 100644 index 0000000..aab3437 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.ressource.default.yml @@ -0,0 +1,56 @@ +uuid: 517bb578-dd35-493c-9bd3-9f4081ca1ee1 +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.ressource.field_description + - field.field.paragraph.ressource.field_fichiers + - field.field.paragraph.ressource.field_liens + - field.field.paragraph.ressource.field_titre + - paragraphs.paragraphs_type.ressource + module: + - file + - link + - text +id: paragraph.ressource.default +targetEntityType: paragraph +bundle: ressource +mode: default +content: + field_description: + type: text_default + label: visually_hidden + settings: { } + third_party_settings: { } + weight: 1 + region: content + field_fichiers: + type: file_default + label: visually_hidden + settings: + use_description_as_link_text: true + third_party_settings: { } + weight: 3 + region: content + field_liens: + type: link + label: visually_hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 2 + region: content + field_titre: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_mode.paragraph.preview.yml b/config/sync/core.entity_view_mode.paragraph.preview.yml new file mode 100644 index 0000000..9fdc867 --- /dev/null +++ b/config/sync/core.entity_view_mode.paragraph.preview.yml @@ -0,0 +1,13 @@ +uuid: 74f4d612-52d4-4c83-9ae2-b3fb78a6a82b +langcode: en +status: true +dependencies: + module: + - paragraphs +_core: + default_config_hash: h3BeHVei4Lnyqbkao3YiF4KqoY-DhRvUNfEgKG8Rgjg +id: paragraph.preview +label: Preview +description: '' +targetEntityType: paragraph +cache: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index bb134ba..c848e19 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -44,6 +44,7 @@ module: entity_block: 0 entity_browser: 0 entity_browser_enhanced: 0 + entity_reference_revisions: 0 field: 0 field_group: 0 field_ui: 0 @@ -106,6 +107,7 @@ module: pathauto: 1 content_translation: 10 views: 10 + paragraphs: 11 figli_starter_kit: 1000 theme: seven: 0 diff --git a/config/sync/editor.editor.wysiwyg.yml b/config/sync/editor.editor.wysiwyg.yml index 724ece5..dddde2b 100644 --- a/config/sync/editor.editor.wysiwyg.yml +++ b/config/sync/editor.editor.wysiwyg.yml @@ -16,6 +16,13 @@ settings: - heading - bold - italic + - bulletedList + - numberedList + - link + - blockQuote + - indent + - outdent + - showBlocks plugins: ckeditor5_heading: enabled_headings: @@ -24,5 +31,10 @@ settings: - heading4 - heading5 - heading6 + ckeditor5_list: + properties: + reversed: true + startIndex: true + multiBlock: true image_upload: status: false diff --git a/config/sync/field.field.node.partie.body.yml b/config/sync/field.field.node.partie.body.yml index 017d6fe..8993ff4 100644 --- a/config/sync/field.field.node.partie.body.yml +++ b/config/sync/field.field.node.partie.body.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.storage.node.body + - filter.format.wysiwyg - node.type.partie module: - text @@ -20,5 +21,6 @@ default_value_callback: '' settings: display_summary: true required_summary: false - allowed_formats: { } + allowed_formats: + - wysiwyg field_type: text_with_summary diff --git a/config/sync/field.field.node.partie.field_en_pratique.yml b/config/sync/field.field.node.partie.field_en_pratique.yml new file mode 100644 index 0000000..e90b322 --- /dev/null +++ b/config/sync/field.field.node.partie.field_en_pratique.yml @@ -0,0 +1,24 @@ +uuid: 85e6c3b8-1f71-458e-be84-da6fa1a10109 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_en_pratique + - filter.format.wysiwyg + - node.type.partie + module: + - text +id: node.partie.field_en_pratique +field_name: field_en_pratique +entity_type: node +bundle: partie +label: 'En pratique' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml b/config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml new file mode 100644 index 0000000..03f2446 --- /dev/null +++ b/config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml @@ -0,0 +1,34 @@ +uuid: 5ceb2a40-e781-4210-aa2a-ed5ee78e7be3 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_pour_aller_plus_loin + - node.type.partie + - paragraphs.paragraphs_type.complement + module: + - entity_reference_revisions +id: node.partie.field_pour_aller_plus_loin +field_name: field_pour_aller_plus_loin +entity_type: node +bundle: partie +label: 'Pour aller plus loin' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + complement: complement + negate: 0 + target_bundles_drag_drop: + complement: + weight: 3 + enabled: true + ressource: + weight: 4 + enabled: false +field_type: entity_reference_revisions diff --git a/config/sync/field.field.node.partie.field_principes_reflexions.yml b/config/sync/field.field.node.partie.field_principes_reflexions.yml new file mode 100644 index 0000000..08a14a8 --- /dev/null +++ b/config/sync/field.field.node.partie.field_principes_reflexions.yml @@ -0,0 +1,24 @@ +uuid: b31a74e7-2cb4-4264-b699-02fa68e4e5f5 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_principes_reflexions + - filter.format.wysiwyg + - node.type.partie + module: + - text +id: node.partie.field_principes_reflexions +field_name: field_principes_reflexions +entity_type: node +bundle: partie +label: Principes/réflexions +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/field.field.node.partie.field_ressources.yml b/config/sync/field.field.node.partie.field_ressources.yml new file mode 100644 index 0000000..c1eb5ec --- /dev/null +++ b/config/sync/field.field.node.partie.field_ressources.yml @@ -0,0 +1,31 @@ +uuid: 0848b835-508b-4057-8908-1474ec9adebb +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_ressources + - node.type.partie + - paragraphs.paragraphs_type.ressource + module: + - entity_reference_revisions +id: node.partie.field_ressources +field_name: field_ressources +entity_type: node +bundle: partie +label: Ressources +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + ressource: ressource + negate: 0 + target_bundles_drag_drop: + ressource: + weight: 2 + enabled: true +field_type: entity_reference_revisions diff --git a/config/sync/field.field.paragraph.complement.field_description.yml b/config/sync/field.field.paragraph.complement.field_description.yml new file mode 100644 index 0000000..5428ad0 --- /dev/null +++ b/config/sync/field.field.paragraph.complement.field_description.yml @@ -0,0 +1,24 @@ +uuid: caeb8f4d-c0ce-40a2-bf86-5106bd03ddd2 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_description + - filter.format.wysiwyg + - paragraphs.paragraphs_type.complement + module: + - text +id: paragraph.complement.field_description +field_name: field_description +entity_type: paragraph +bundle: complement +label: Description +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/field.field.paragraph.complement.field_liens.yml b/config/sync/field.field.paragraph.complement.field_liens.yml new file mode 100644 index 0000000..241283e --- /dev/null +++ b/config/sync/field.field.paragraph.complement.field_liens.yml @@ -0,0 +1,23 @@ +uuid: c1bc3397-0345-4589-89fd-4eb7b378c1a2 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_liens + - paragraphs.paragraphs_type.complement + module: + - link +id: paragraph.complement.field_liens +field_name: field_liens +entity_type: paragraph +bundle: complement +label: Liens +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 2 + link_type: 17 +field_type: link diff --git a/config/sync/field.field.paragraph.complement.field_titre.yml b/config/sync/field.field.paragraph.complement.field_titre.yml new file mode 100644 index 0000000..67259ec --- /dev/null +++ b/config/sync/field.field.paragraph.complement.field_titre.yml @@ -0,0 +1,19 @@ +uuid: 0167ac61-8aba-4756-aa75-add9b2c85393 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_titre + - paragraphs.paragraphs_type.complement +id: paragraph.complement.field_titre +field_name: field_titre +entity_type: paragraph +bundle: complement +label: Titre +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.ressource.field_description.yml b/config/sync/field.field.paragraph.ressource.field_description.yml new file mode 100644 index 0000000..9fe275d --- /dev/null +++ b/config/sync/field.field.paragraph.ressource.field_description.yml @@ -0,0 +1,24 @@ +uuid: fb67ed86-dbd6-41bf-a938-1d511d4279f1 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_description + - filter.format.wysiwyg + - paragraphs.paragraphs_type.ressource + module: + - text +id: paragraph.ressource.field_description +field_name: field_description +entity_type: paragraph +bundle: ressource +label: Description +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/field.field.paragraph.ressource.field_fichiers.yml b/config/sync/field.field.paragraph.ressource.field_fichiers.yml new file mode 100644 index 0000000..29ffec9 --- /dev/null +++ b/config/sync/field.field.paragraph.ressource.field_fichiers.yml @@ -0,0 +1,27 @@ +uuid: c52e412c-2557-4629-999e-f1ca9f200401 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_fichiers + - paragraphs.paragraphs_type.ressource + module: + - file +id: paragraph.ressource.field_fichiers +field_name: field_fichiers +entity_type: paragraph +bundle: ressource +label: Fichiers +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:file' + handler_settings: { } + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'pdf doc docx odt png gif jpg jpeg webp' + max_filesize: '' + description_field: true +field_type: file diff --git a/config/sync/field.field.paragraph.ressource.field_liens.yml b/config/sync/field.field.paragraph.ressource.field_liens.yml new file mode 100644 index 0000000..c36e308 --- /dev/null +++ b/config/sync/field.field.paragraph.ressource.field_liens.yml @@ -0,0 +1,23 @@ +uuid: 3be96020-116c-4080-bc45-898cde346c0c +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_liens + - paragraphs.paragraphs_type.ressource + module: + - link +id: paragraph.ressource.field_liens +field_name: field_liens +entity_type: paragraph +bundle: ressource +label: Liens +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 2 + link_type: 17 +field_type: link diff --git a/config/sync/field.field.paragraph.ressource.field_titre.yml b/config/sync/field.field.paragraph.ressource.field_titre.yml new file mode 100644 index 0000000..d2b64af --- /dev/null +++ b/config/sync/field.field.paragraph.ressource.field_titre.yml @@ -0,0 +1,19 @@ +uuid: f13e87b6-d3c2-4b2d-9511-ca254e9e4cef +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_titre + - paragraphs.paragraphs_type.ressource +id: paragraph.ressource.field_titre +field_name: field_titre +entity_type: paragraph +bundle: ressource +label: Titre +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.storage.node.field_en_pratique.yml b/config/sync/field.storage.node.field_en_pratique.yml new file mode 100644 index 0000000..5936757 --- /dev/null +++ b/config/sync/field.storage.node.field_en_pratique.yml @@ -0,0 +1,19 @@ +uuid: 4fc2fdfa-cd64-461e-853b-d57090a2533d +langcode: fr +status: true +dependencies: + module: + - node + - text +id: node.field_en_pratique +field_name: field_en_pratique +entity_type: node +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_pour_aller_plus_loin.yml b/config/sync/field.storage.node.field_pour_aller_plus_loin.yml new file mode 100644 index 0000000..7272cd8 --- /dev/null +++ b/config/sync/field.storage.node.field_pour_aller_plus_loin.yml @@ -0,0 +1,21 @@ +uuid: ffd71593-a1d0-4799-b189-d66c76698f6b +langcode: fr +status: true +dependencies: + module: + - entity_reference_revisions + - node + - paragraphs +id: node.field_pour_aller_plus_loin +field_name: field_pour_aller_plus_loin +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 diff --git a/config/sync/field.storage.node.field_principes_reflexions.yml b/config/sync/field.storage.node.field_principes_reflexions.yml new file mode 100644 index 0000000..5daa1a6 --- /dev/null +++ b/config/sync/field.storage.node.field_principes_reflexions.yml @@ -0,0 +1,19 @@ +uuid: d8e465bc-2e05-47ad-8796-0280f295b80f +langcode: fr +status: true +dependencies: + module: + - node + - text +id: node.field_principes_reflexions +field_name: field_principes_reflexions +entity_type: node +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_ressources.yml b/config/sync/field.storage.node.field_ressources.yml new file mode 100644 index 0000000..4ec0495 --- /dev/null +++ b/config/sync/field.storage.node.field_ressources.yml @@ -0,0 +1,21 @@ +uuid: 1ffea0c3-8e9b-4b62-b161-0ddd4c0ef3e0 +langcode: fr +status: true +dependencies: + module: + - entity_reference_revisions + - node + - paragraphs +id: node.field_ressources +field_name: field_ressources +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 diff --git a/config/sync/field.storage.paragraph.field_description.yml b/config/sync/field.storage.paragraph.field_description.yml new file mode 100644 index 0000000..d189713 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_description.yml @@ -0,0 +1,19 @@ +uuid: 774dc5de-6138-477e-b7a5-223b9b0d8e37 +langcode: fr +status: true +dependencies: + module: + - paragraphs + - text +id: paragraph.field_description +field_name: field_description +entity_type: paragraph +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_fichiers.yml b/config/sync/field.storage.paragraph.field_fichiers.yml new file mode 100644 index 0000000..ac696b9 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_fichiers.yml @@ -0,0 +1,23 @@ +uuid: 86e1055b-1a21-4939-936b-ba41b08bfc96 +langcode: fr +status: true +dependencies: + module: + - file + - paragraphs +id: paragraph.field_fichiers +field_name: field_fichiers +entity_type: paragraph +type: file +settings: + target_type: file + display_field: true + display_default: true + uri_scheme: public +module: file +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_liens.yml b/config/sync/field.storage.paragraph.field_liens.yml new file mode 100644 index 0000000..fe61f37 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_liens.yml @@ -0,0 +1,19 @@ +uuid: 204c108b-48af-4df0-9373-0affb42f6a57 +langcode: fr +status: true +dependencies: + module: + - link + - paragraphs +id: paragraph.field_liens +field_name: field_liens +entity_type: paragraph +type: link +settings: { } +module: link +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_titre.yml b/config/sync/field.storage.paragraph.field_titre.yml new file mode 100644 index 0000000..75518b9 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_titre.yml @@ -0,0 +1,21 @@ +uuid: ecf7e8b1-c677-4b36-9285-f2fe35453f34 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_titre +field_name: field_titre +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/filter.format.wysiwyg.yml b/config/sync/filter.format.wysiwyg.yml index d9113cf..b8896e1 100644 --- a/config/sync/filter.format.wysiwyg.yml +++ b/config/sync/filter.format.wysiwyg.yml @@ -4,6 +4,8 @@ status: true dependencies: module: - editor + - linkit + - pathologic _core: default_config_hash: a0dSxrd1nnzeSvKpvFmtoLpxDd3Nj6E7dQN-MZUi20g name: wysiwyg @@ -61,6 +63,17 @@ filters: status: true weight: -47 settings: { } + filter_pathologic: + id: filter_pathologic + provider: pathologic + status: false + weight: 50 + settings: + settings_source: global + local_settings: + protocol_style: full + local_paths: '' + keep_language_prefix: true filter_url: id: filter_url provider: filter @@ -68,3 +81,10 @@ filters: weight: -45 settings: filter_url_length: 72 + linkit: + id: linkit + provider: linkit + status: false + weight: 0 + settings: + title: true diff --git a/config/sync/paragraphs.paragraphs_type.complement.yml b/config/sync/paragraphs.paragraphs_type.complement.yml new file mode 100644 index 0000000..29cff12 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.complement.yml @@ -0,0 +1,11 @@ +uuid: 97617c3c-f9fc-4008-adaa-f319af9616be +langcode: fr +status: true +dependencies: { } +id: complement +label: Complément +icon_uuid: null +icon_default: null +description: '' +save_empty: false +behavior_plugins: { } diff --git a/config/sync/paragraphs.paragraphs_type.ressource.yml b/config/sync/paragraphs.paragraphs_type.ressource.yml new file mode 100644 index 0000000..7b2df15 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.ressource.yml @@ -0,0 +1,11 @@ +uuid: 926dd7c1-625e-4eac-afc8-81698ba0119d +langcode: fr +status: true +dependencies: { } +id: ressource +label: Ressource +icon_uuid: null +icon_default: null +description: '' +save_empty: false +behavior_plugins: { } diff --git a/config/sync/paragraphs.settings.yml b/config/sync/paragraphs.settings.yml new file mode 100644 index 0000000..c43733b --- /dev/null +++ b/config/sync/paragraphs.settings.yml @@ -0,0 +1,3 @@ +_core: + default_config_hash: 7eR0sk71Eol86r_A7BMqn5_46wzenh5J1O5vZRCGKv8 +show_unpublished: true