From 8deaf958932e0b985100a920a88e9d0bbbd00f5e Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 10 Oct 2024 16:01:10 +0200 Subject: [PATCH] field nom prenom ds entretien --- ...orm_display.paragraph.personne.default.yml | 20 +++++++++++++++++- ...iew_display.paragraph.personne.default.yml | 18 ++++++++++++++++ ...eld.field.paragraph.personne.field_nom.yml | 19 +++++++++++++++++ ....field.paragraph.personne.field_prenom.yml | 19 +++++++++++++++++ .../field.storage.paragraph.field_nom.yml | 21 +++++++++++++++++++ .../field.storage.paragraph.field_prenom.yml | 21 +++++++++++++++++++ 6 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 config/sync/field.field.paragraph.personne.field_nom.yml create mode 100644 config/sync/field.field.paragraph.personne.field_prenom.yml create mode 100644 config/sync/field.storage.paragraph.field_nom.yml create mode 100644 config/sync/field.storage.paragraph.field_prenom.yml diff --git a/config/sync/core.entity_form_display.paragraph.personne.default.yml b/config/sync/core.entity_form_display.paragraph.personne.default.yml index 078b536..261944b 100644 --- a/config/sync/core.entity_form_display.paragraph.personne.default.yml +++ b/config/sync/core.entity_form_display.paragraph.personne.default.yml @@ -4,7 +4,9 @@ status: true dependencies: config: - field.field.paragraph.personne.field_description + - field.field.paragraph.personne.field_nom - field.field.paragraph.personne.field_portrait + - field.field.paragraph.personne.field_prenom - image.style.thumbnail - paragraphs.paragraphs_type.personne module: @@ -16,12 +18,20 @@ mode: default content: field_description: type: string_textarea - weight: 1 + weight: 3 region: content settings: rows: 5 placeholder: '' third_party_settings: { } + field_nom: + type: string_textfield + weight: 1 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } field_portrait: type: image_image weight: 0 @@ -30,6 +40,14 @@ content: progress_indicator: throbber preview_image_style: thumbnail third_party_settings: { } + field_prenom: + type: string_textfield + weight: 2 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } hidden: created: true status: true diff --git a/config/sync/core.entity_view_display.paragraph.personne.default.yml b/config/sync/core.entity_view_display.paragraph.personne.default.yml index 45d354a..78568d6 100644 --- a/config/sync/core.entity_view_display.paragraph.personne.default.yml +++ b/config/sync/core.entity_view_display.paragraph.personne.default.yml @@ -4,7 +4,9 @@ status: true dependencies: config: - field.field.paragraph.personne.field_description + - field.field.paragraph.personne.field_nom - field.field.paragraph.personne.field_portrait + - field.field.paragraph.personne.field_prenom - paragraphs.paragraphs_type.personne module: - image @@ -20,6 +22,14 @@ content: third_party_settings: { } weight: 1 region: content + field_nom: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 2 + region: content field_portrait: type: image label: above @@ -31,5 +41,13 @@ content: third_party_settings: { } weight: 0 region: content + field_prenom: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 3 + region: content hidden: search_api_excerpt: true diff --git a/config/sync/field.field.paragraph.personne.field_nom.yml b/config/sync/field.field.paragraph.personne.field_nom.yml new file mode 100644 index 0000000..8880aa5 --- /dev/null +++ b/config/sync/field.field.paragraph.personne.field_nom.yml @@ -0,0 +1,19 @@ +uuid: dda43cee-bd53-4e52-8be3-9e8f25050ad0 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_nom + - paragraphs.paragraphs_type.personne +id: paragraph.personne.field_nom +field_name: field_nom +entity_type: paragraph +bundle: personne +label: Nom +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.personne.field_prenom.yml b/config/sync/field.field.paragraph.personne.field_prenom.yml new file mode 100644 index 0000000..c5b6ba5 --- /dev/null +++ b/config/sync/field.field.paragraph.personne.field_prenom.yml @@ -0,0 +1,19 @@ +uuid: c825cdcf-4aa6-4bd8-9cdd-8bbd16c4aab4 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_prenom + - paragraphs.paragraphs_type.personne +id: paragraph.personne.field_prenom +field_name: field_prenom +entity_type: paragraph +bundle: personne +label: Prénom +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.storage.paragraph.field_nom.yml b/config/sync/field.storage.paragraph.field_nom.yml new file mode 100644 index 0000000..55d0766 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_nom.yml @@ -0,0 +1,21 @@ +uuid: 85315bad-dda4-46cb-aee1-ba849985e992 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_nom +field_name: field_nom +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/field.storage.paragraph.field_prenom.yml b/config/sync/field.storage.paragraph.field_prenom.yml new file mode 100644 index 0000000..9b97526 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_prenom.yml @@ -0,0 +1,21 @@ +uuid: 15a46761-f1b8-478a-a035-965901d40463 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_prenom +field_name: field_prenom +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