From af77abc192c2128f5b4ef4fdae2b6224b0193dbe Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 16 Sep 2026 18:15:21 +0200 Subject: [PATCH] =?UTF-8?q?=C3=A9pingler=20en=20haut=20des=20liste=20(home?= =?UTF-8?q?=20view)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ty_form_display.node.evenement.default.yml | 34 +++++++++++-------- ...ntity_form_display.node.projet.default.yml | 21 ++++++++---- config/sync/views.view.home.yml | 15 ++++++++ 3 files changed, 49 insertions(+), 21 deletions(-) diff --git a/config/sync/core.entity_form_display.node.evenement.default.yml b/config/sync/core.entity_form_display.node.evenement.default.yml index 5453e2b..a47b51d 100644 --- a/config/sync/core.entity_form_display.node.evenement.default.yml +++ b/config/sync/core.entity_form_display.node.evenement.default.yml @@ -31,7 +31,6 @@ third_party_settings: children: - group_description - group_liens - - group_media label: Tabs region: content parent_name: '' @@ -64,6 +63,7 @@ third_party_settings: children: - status - promote + - sticky - field_type_d_evenement - field_infos_pratiques - field_dates @@ -75,7 +75,7 @@ third_party_settings: label: Details region: content parent_name: '' - weight: 4 + weight: 2 format_type: details_sidebar format_settings: classes: '' @@ -109,9 +109,9 @@ third_party_settings: children: - field_images label: Media - region: hidden - parent_name: group_tabs - weight: 13 + region: content + parent_name: '' + weight: 4 format_type: tab format_settings: classes: '' @@ -156,7 +156,7 @@ content: third_party_settings: { } field_dates: type: daterange_default - weight: 19 + weight: 20 region: content settings: { } third_party_settings: { } @@ -170,7 +170,7 @@ content: third_party_settings: { } field_infos_pratiques: type: text_textarea - weight: 18 + weight: 19 region: content settings: rows: 5 @@ -196,7 +196,7 @@ content: third_party_settings: { } field_lieu: type: entity_reference_autocomplete - weight: 20 + weight: 21 region: content settings: match_operator: CONTAINS @@ -216,7 +216,7 @@ content: third_party_settings: { } field_portage: type: options_select - weight: 21 + weight: 22 region: content settings: { } third_party_settings: { } @@ -232,7 +232,7 @@ content: third_party_settings: { } field_type_d_evenement: type: autocomplete_deluxe - weight: 17 + weight: 18 region: content settings: match_operator: CONTAINS @@ -249,14 +249,14 @@ content: third_party_settings: { } langcode: type: language_select - weight: 22 + weight: 23 region: content settings: include_locked: true third_party_settings: { } path: type: path - weight: 23 + weight: 24 region: content settings: { } third_party_settings: { } @@ -274,6 +274,13 @@ content: settings: display_label: true third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 17 + region: content + settings: + display_label: true + third_party_settings: { } title: type: string_textfield weight: 0 @@ -283,11 +290,10 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 24 + weight: 25 region: content settings: { } third_party_settings: { } hidden: created: true - sticky: true uid: true diff --git a/config/sync/core.entity_form_display.node.projet.default.yml b/config/sync/core.entity_form_display.node.projet.default.yml index bbdee4f..e1196ef 100644 --- a/config/sync/core.entity_form_display.node.projet.default.yml +++ b/config/sync/core.entity_form_display.node.projet.default.yml @@ -50,6 +50,7 @@ third_party_settings: children: - status - promote + - sticky - field_type_de_projet - field_infos_pratiques - field_portage @@ -172,7 +173,7 @@ content: third_party_settings: { } field_dates: type: daterange_default - weight: 13 + weight: 14 region: content settings: { } third_party_settings: { } @@ -193,7 +194,7 @@ content: third_party_settings: { } field_infos_pratiques: type: text_textarea - weight: 11 + weight: 12 region: content settings: rows: 5 @@ -229,7 +230,7 @@ content: third_party_settings: { } field_portage: type: options_select - weight: 12 + weight: 13 region: content settings: { } third_party_settings: { } @@ -245,7 +246,7 @@ content: third_party_settings: { } field_type_de_projet: type: autocomplete_deluxe - weight: 10 + weight: 11 region: content settings: match_operator: CONTAINS @@ -262,14 +263,14 @@ content: third_party_settings: { } langcode: type: language_select - weight: 14 + weight: 15 region: content settings: include_locked: true third_party_settings: { } path: type: path - weight: 15 + weight: 16 region: content settings: { } third_party_settings: { } @@ -287,6 +288,13 @@ content: settings: display_label: true third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 10 + region: content + settings: + display_label: true + third_party_settings: { } title: type: string_textfield weight: 0 @@ -302,5 +310,4 @@ content: third_party_settings: { } hidden: created: true - sticky: true uid: true diff --git a/config/sync/views.view.home.yml b/config/sync/views.view.home.yml index 680d885..c21cfbe 100644 --- a/config/sync/views.view.home.yml +++ b/config/sync/views.view.home.yml @@ -104,6 +104,21 @@ display: options: { } empty: { } sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false field_dates_value: id: field_dates_value table: node__field_dates