From 0677d8acda99bff3c473e7d5e1d2c511c1ffcf86 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 13 Nov 2024 21:08:03 +0100 Subject: [PATCH] calendrier -> timetable --- ...splay.config_pages.deroulement.default.yml | 13 ++++++++++-- ...splay.config_pages.deroulement.default.yml | 11 +++++++++- ...d.config_pages.deroulement.field_title.yml | 19 +++++++++++++++++ ...field.storage.config_pages.field_title.yml | 21 +++++++++++++++++++ ...ger.page_variant.home-panels_variant-0.yml | 2 +- 5 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 config/sync/field.field.config_pages.deroulement.field_title.yml create mode 100644 config/sync/field.storage.config_pages.field_title.yml diff --git a/config/sync/core.entity_form_display.config_pages.deroulement.default.yml b/config/sync/core.entity_form_display.config_pages.deroulement.default.yml index 8c07693..2fb6632 100644 --- a/config/sync/core.entity_form_display.config_pages.deroulement.default.yml +++ b/config/sync/core.entity_form_display.config_pages.deroulement.default.yml @@ -6,6 +6,7 @@ dependencies: - config_pages.type.deroulement - field.field.config_pages.deroulement.field_calendrier - field.field.config_pages.deroulement.field_phase + - field.field.config_pages.deroulement.field_title module: - file - paragraphs @@ -16,14 +17,14 @@ mode: default content: field_calendrier: type: file_generic - weight: 0 + weight: 1 region: content settings: progress_indicator: throbber third_party_settings: { } field_phase: type: paragraphs - weight: 1 + weight: 2 region: content settings: title: Paragraphe @@ -39,5 +40,13 @@ content: collapse_edit_all: collapse_edit_all duplicate: duplicate third_party_settings: { } + field_title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } hidden: label: true diff --git a/config/sync/core.entity_view_display.config_pages.deroulement.default.yml b/config/sync/core.entity_view_display.config_pages.deroulement.default.yml index 158c80e..8961b72 100644 --- a/config/sync/core.entity_view_display.config_pages.deroulement.default.yml +++ b/config/sync/core.entity_view_display.config_pages.deroulement.default.yml @@ -6,6 +6,7 @@ dependencies: - config_pages.type.deroulement - field.field.config_pages.deroulement.field_calendrier - field.field.config_pages.deroulement.field_phase + - field.field.config_pages.deroulement.field_title module: - entity_reference_revisions - file @@ -20,7 +21,7 @@ content: settings: use_description_as_link_text: true third_party_settings: { } - weight: 1 + weight: 2 region: content field_phase: type: entity_reference_revisions_entity_view @@ -29,6 +30,14 @@ content: view_mode: default link: '' third_party_settings: { } + weight: 1 + region: content + field_title: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } weight: 0 region: content hidden: diff --git a/config/sync/field.field.config_pages.deroulement.field_title.yml b/config/sync/field.field.config_pages.deroulement.field_title.yml new file mode 100644 index 0000000..c867f13 --- /dev/null +++ b/config/sync/field.field.config_pages.deroulement.field_title.yml @@ -0,0 +1,19 @@ +uuid: cfc84eb1-5066-40f5-8e83-e8cfc718cf1d +langcode: en +status: true +dependencies: + config: + - config_pages.type.deroulement + - field.storage.config_pages.field_title +id: config_pages.deroulement.field_title +field_name: field_title +entity_type: config_pages +bundle: deroulement +label: Title +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.storage.config_pages.field_title.yml b/config/sync/field.storage.config_pages.field_title.yml new file mode 100644 index 0000000..4e42f38 --- /dev/null +++ b/config/sync/field.storage.config_pages.field_title.yml @@ -0,0 +1,21 @@ +uuid: 89c0fabb-8b58-4aee-a3d5-cc9ca050d074 +langcode: en +status: true +dependencies: + module: + - config_pages +id: config_pages.field_title +field_name: field_title +entity_type: config_pages +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/page_manager.page_variant.home-panels_variant-0.yml b/config/sync/page_manager.page_variant.home-panels_variant-0.yml index ddce128..75832a2 100644 --- a/config/sync/page_manager.page_variant.home-panels_variant-0.yml +++ b/config/sync/page_manager.page_variant.home-panels_variant-0.yml @@ -54,7 +54,7 @@ variant_settings: 346ce88d-2925-4bf8-884d-dfbca1e8d5b6: id: config_pages_block label: Calendrier - label_display: visible + label_display: '0' provider: config_pages context_mapping: { } config_page_type: deroulement