From d1b135412fc2e7ff39c4f8ffa18a13f06c570843 Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 10 Oct 2024 15:59:18 +0200 Subject: [PATCH] field titre in entretien --- ...rm_display.paragraph.entretien.default.yml | 45 +++++++++++-------- ...ew_display.paragraph.entretien.default.yml | 9 ++++ ....field.paragraph.entretien.field_titre.yml | 19 ++++++++ 3 files changed, 55 insertions(+), 18 deletions(-) create mode 100644 config/sync/field.field.paragraph.entretien.field_titre.yml diff --git a/config/sync/core.entity_form_display.paragraph.entretien.default.yml b/config/sync/core.entity_form_display.paragraph.entretien.default.yml index add67df..e9fbaa6 100644 --- a/config/sync/core.entity_form_display.paragraph.entretien.default.yml +++ b/config/sync/core.entity_form_display.paragraph.entretien.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.paragraph.entretien.field_personne_s - field.field.paragraph.entretien.field_questions_reponses + - field.field.paragraph.entretien.field_titre - paragraphs.paragraphs_type.entretien module: - paragraphs @@ -14,24 +15,6 @@ bundle: entretien mode: default content: field_personne_s: - type: paragraphs - weight: 0 - region: content - settings: - title: Paragraphe - 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_questions_reponses: type: paragraphs weight: 1 region: content @@ -49,6 +32,32 @@ content: collapse_edit_all: collapse_edit_all duplicate: duplicate third_party_settings: { } + field_questions_reponses: + type: paragraphs + weight: 2 + region: content + settings: + title: Paragraphe + 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 diff --git a/config/sync/core.entity_view_display.paragraph.entretien.default.yml b/config/sync/core.entity_view_display.paragraph.entretien.default.yml index 913c228..241e617 100644 --- a/config/sync/core.entity_view_display.paragraph.entretien.default.yml +++ b/config/sync/core.entity_view_display.paragraph.entretien.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.paragraph.entretien.field_personne_s - field.field.paragraph.entretien.field_questions_reponses + - field.field.paragraph.entretien.field_titre - paragraphs.paragraphs_type.entretien module: - entity_reference_revisions @@ -31,5 +32,13 @@ content: 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 diff --git a/config/sync/field.field.paragraph.entretien.field_titre.yml b/config/sync/field.field.paragraph.entretien.field_titre.yml new file mode 100644 index 0000000..d30db49 --- /dev/null +++ b/config/sync/field.field.paragraph.entretien.field_titre.yml @@ -0,0 +1,19 @@ +uuid: b0721237-f719-4d81-be40-762ab848a659 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_titre + - paragraphs.paragraphs_type.entretien +id: paragraph.entretien.field_titre +field_name: field_titre +entity_type: paragraph +bundle: entretien +label: Titre +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string