From 6d3c6acdbbdbb9da1c0b65454ef19ab1f43f0a42 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 30 Oct 2024 14:55:28 +0100 Subject: [PATCH 1/3] sites carte stamen toner --- config/sync/views.view.sites.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sync/views.view.sites.yml b/config/sync/views.view.sites.yml index e85e27c..25c9223 100644 --- a/config/sync/views.view.sites.yml +++ b/config/sync/views.view.sites.yml @@ -625,7 +625,7 @@ display: value: title options: '{"maxWidth":"300","minWidth":"50","autoPan":true}' view_mode: full - leaflet_map: 'OSM Mapnik' + leaflet_map: stamen-toner height: '400' height_unit: px hide_empty_map: false From 2b69062c26fee87c28f81180fc20c2d12c0ce549 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 30 Oct 2024 15:11:05 +0100 Subject: [PATCH 2/3] fields deleted --- ....entity_form_display.node.site.default.yml | 28 -------- ....entity_view_display.node.site.default.yml | 27 -------- ...ore.entity_view_display.node.site.full.yml | 6 -- ...e.entity_view_display.node.site.teaser.yml | 6 -- ...ld.node.site.field_collectivite_s_epci.yml | 19 ------ ...field.field.node.site.field_mots_clefs.yml | 29 -------- .../field.field.node.site.field_numero.yml | 23 ------- ...ield.node.site.field_porteur_s_de_site.yml | 2 +- ...storage.node.field_collectivite_s_epci.yml | 19 ------ .../field.storage.node.field_mots_clefs.yml | 20 ------ .../sync/field.storage.node.field_numero.yml | 20 ------ config/sync/views.view.site.yml | 67 +------------------ 12 files changed, 2 insertions(+), 264 deletions(-) delete mode 100644 config/sync/field.field.node.site.field_collectivite_s_epci.yml delete mode 100644 config/sync/field.field.node.site.field_mots_clefs.yml delete mode 100644 config/sync/field.field.node.site.field_numero.yml delete mode 100644 config/sync/field.storage.node.field_collectivite_s_epci.yml delete mode 100644 config/sync/field.storage.node.field_mots_clefs.yml delete mode 100644 config/sync/field.storage.node.field_numero.yml diff --git a/config/sync/core.entity_form_display.node.site.default.yml b/config/sync/core.entity_form_display.node.site.default.yml index 10a7068..603651b 100644 --- a/config/sync/core.entity_form_display.node.site.default.yml +++ b/config/sync/core.entity_form_display.node.site.default.yml @@ -3,16 +3,13 @@ langcode: fr status: true dependencies: config: - - field.field.node.site.field_collectivite_s_epci - field.field.node.site.field_departement_s - field.field.node.site.field_documents - field.field.node.site.field_geofield - field.field.node.site.field_images - field.field.node.site.field_liens_site - - field.field.node.site.field_mots_clefs - field.field.node.site.field_nom_de_la_commune_nb_d_hab - field.field.node.site.field_nom_du_qpv_nb_d_hab - - field.field.node.site.field_numero - field.field.node.site.field_parties - field.field.node.site.field_porteur_s_de_site - field.field.node.site.field_programme_de_l_etat @@ -167,14 +164,6 @@ content: region: content settings: { } third_party_settings: { } - field_collectivite_s_epci: - type: string_textarea - weight: 17 - region: content - settings: - rows: 5 - placeholder: '' - third_party_settings: { } field_departement_s: type: string_textfield weight: 15 @@ -271,16 +260,6 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } - field_mots_clefs: - type: entity_reference_autocomplete_tags - weight: 12 - region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' - third_party_settings: { } field_nom_de_la_commune_nb_d_hab: type: string_textfield weight: 19 @@ -297,13 +276,6 @@ content: size: 60 placeholder: '' third_party_settings: { } - field_numero: - type: number - weight: 11 - region: content - settings: - placeholder: '' - third_party_settings: { } field_parties: type: paragraphs weight: 22 diff --git a/config/sync/core.entity_view_display.node.site.default.yml b/config/sync/core.entity_view_display.node.site.default.yml index 0e0395c..38e782a 100644 --- a/config/sync/core.entity_view_display.node.site.default.yml +++ b/config/sync/core.entity_view_display.node.site.default.yml @@ -3,16 +3,13 @@ langcode: fr status: true dependencies: config: - - field.field.node.site.field_collectivite_s_epci - field.field.node.site.field_departement_s - field.field.node.site.field_documents - field.field.node.site.field_geofield - field.field.node.site.field_images - field.field.node.site.field_liens_site - - field.field.node.site.field_mots_clefs - field.field.node.site.field_nom_de_la_commune_nb_d_hab - field.field.node.site.field_nom_du_qpv_nb_d_hab - - field.field.node.site.field_numero - field.field.node.site.field_parties - field.field.node.site.field_porteur_s_de_site - field.field.node.site.field_programme_de_l_etat @@ -32,13 +29,6 @@ targetEntityType: node bundle: site mode: default content: - field_collectivite_s_epci: - type: basic_string - label: above - settings: { } - third_party_settings: { } - weight: 108 - region: content field_departement_s: type: string label: above @@ -87,14 +77,6 @@ content: third_party_settings: { } weight: 112 region: content - field_mots_clefs: - type: entity_reference_label - label: above - settings: - link: true - third_party_settings: { } - weight: 103 - region: content field_nom_de_la_commune_nb_d_hab: type: string label: above @@ -111,15 +93,6 @@ content: third_party_settings: { } weight: 105 region: content - field_numero: - type: number_integer - label: above - settings: - thousand_separator: '' - prefix_suffix: true - third_party_settings: { } - weight: 102 - region: content field_parties: type: entity_reference_revisions_entity_view label: above diff --git a/config/sync/core.entity_view_display.node.site.full.yml b/config/sync/core.entity_view_display.node.site.full.yml index e3b089e..085133f 100644 --- a/config/sync/core.entity_view_display.node.site.full.yml +++ b/config/sync/core.entity_view_display.node.site.full.yml @@ -4,16 +4,13 @@ status: true dependencies: config: - core.entity_view_mode.node.full - - field.field.node.site.field_collectivite_s_epci - field.field.node.site.field_departement_s - field.field.node.site.field_documents - field.field.node.site.field_geofield - field.field.node.site.field_images - field.field.node.site.field_liens_site - - field.field.node.site.field_mots_clefs - field.field.node.site.field_nom_de_la_commune_nb_d_hab - field.field.node.site.field_nom_du_qpv_nb_d_hab - - field.field.node.site.field_numero - field.field.node.site.field_parties - field.field.node.site.field_porteur_s_de_site - field.field.node.site.field_programme_de_l_etat @@ -56,15 +53,12 @@ content: region: content hidden: created: true - field_collectivite_s_epci: true field_departement_s: true field_documents: true field_geofield: true field_liens_site: true - field_mots_clefs: true field_nom_de_la_commune_nb_d_hab: true field_nom_du_qpv_nb_d_hab: true - field_numero: true field_parties: true field_porteur_s_de_site: true field_programme_de_l_etat: true diff --git a/config/sync/core.entity_view_display.node.site.teaser.yml b/config/sync/core.entity_view_display.node.site.teaser.yml index 2bc4ebf..13006cb 100644 --- a/config/sync/core.entity_view_display.node.site.teaser.yml +++ b/config/sync/core.entity_view_display.node.site.teaser.yml @@ -4,16 +4,13 @@ status: true dependencies: config: - core.entity_view_mode.node.teaser - - field.field.node.site.field_collectivite_s_epci - field.field.node.site.field_departement_s - field.field.node.site.field_documents - field.field.node.site.field_geofield - field.field.node.site.field_images - field.field.node.site.field_liens_site - - field.field.node.site.field_mots_clefs - field.field.node.site.field_nom_de_la_commune_nb_d_hab - field.field.node.site.field_nom_du_qpv_nb_d_hab - - field.field.node.site.field_numero - field.field.node.site.field_parties - field.field.node.site.field_porteur_s_de_site - field.field.node.site.field_programme_de_l_etat @@ -58,15 +55,12 @@ content: region: content hidden: created: true - field_collectivite_s_epci: true field_departement_s: true field_documents: true field_geofield: true field_liens_site: true - field_mots_clefs: true field_nom_de_la_commune_nb_d_hab: true field_nom_du_qpv_nb_d_hab: true - field_numero: true field_parties: true field_porteur_s_de_site: true field_programme_de_l_etat: true diff --git a/config/sync/field.field.node.site.field_collectivite_s_epci.yml b/config/sync/field.field.node.site.field_collectivite_s_epci.yml deleted file mode 100644 index 8a40ed8..0000000 --- a/config/sync/field.field.node.site.field_collectivite_s_epci.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 2fd10960-84db-4c32-aa23-e83d7218a869 -langcode: fr -status: true -dependencies: - config: - - field.storage.node.field_collectivite_s_epci - - node.type.site -id: node.site.field_collectivite_s_epci -field_name: field_collectivite_s_epci -entity_type: node -bundle: site -label: Collectivité(s)/EPCI -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string_long diff --git a/config/sync/field.field.node.site.field_mots_clefs.yml b/config/sync/field.field.node.site.field_mots_clefs.yml deleted file mode 100644 index 0127637..0000000 --- a/config/sync/field.field.node.site.field_mots_clefs.yml +++ /dev/null @@ -1,29 +0,0 @@ -uuid: 37705251-7834-4e73-a3e9-312019908421 -langcode: fr -status: true -dependencies: - config: - - field.storage.node.field_mots_clefs - - node.type.site - - taxonomy.vocabulary.mots_clefs -id: node.site.field_mots_clefs -field_name: field_mots_clefs -entity_type: node -bundle: site -label: 'Mots Clefs' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:taxonomy_term' - handler_settings: - target_bundles: - mots_clefs: mots_clefs - sort: - field: name - direction: asc - auto_create: true - auto_create_bundle: '' -field_type: entity_reference diff --git a/config/sync/field.field.node.site.field_numero.yml b/config/sync/field.field.node.site.field_numero.yml deleted file mode 100644 index a845f17..0000000 --- a/config/sync/field.field.node.site.field_numero.yml +++ /dev/null @@ -1,23 +0,0 @@ -uuid: fc5d18ef-ba33-43c7-98d2-de7dcd5dc570 -langcode: fr -status: true -dependencies: - config: - - field.storage.node.field_numero - - node.type.site -id: node.site.field_numero -field_name: field_numero -entity_type: node -bundle: site -label: Numéro -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - min: 1 - max: 10 - prefix: '' - suffix: '' -field_type: integer diff --git a/config/sync/field.field.node.site.field_porteur_s_de_site.yml b/config/sync/field.field.node.site.field_porteur_s_de_site.yml index 6c132e0..024641f 100644 --- a/config/sync/field.field.node.site.field_porteur_s_de_site.yml +++ b/config/sync/field.field.node.site.field_porteur_s_de_site.yml @@ -9,7 +9,7 @@ id: node.site.field_porteur_s_de_site field_name: field_porteur_s_de_site entity_type: node bundle: site -label: 'Porteur(s) de site' +label: "Maîtrise d'ouvrage" description: '' required: false translatable: false diff --git a/config/sync/field.storage.node.field_collectivite_s_epci.yml b/config/sync/field.storage.node.field_collectivite_s_epci.yml deleted file mode 100644 index 4aebc33..0000000 --- a/config/sync/field.storage.node.field_collectivite_s_epci.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 53454d14-8240-4c86-bb29-fbaa9acd9fd6 -langcode: fr -status: true -dependencies: - module: - - node -id: node.field_collectivite_s_epci -field_name: field_collectivite_s_epci -entity_type: node -type: string_long -settings: - case_sensitive: 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.node.field_mots_clefs.yml b/config/sync/field.storage.node.field_mots_clefs.yml deleted file mode 100644 index 6f396b2..0000000 --- a/config/sync/field.storage.node.field_mots_clefs.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: d10aa3f5-70a2-4603-a3cc-3ebb203bfef4 -langcode: fr -status: true -dependencies: - module: - - node - - taxonomy -id: node.field_mots_clefs -field_name: field_mots_clefs -entity_type: node -type: entity_reference -settings: - target_type: taxonomy_term -module: core -locked: false -cardinality: -1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_numero.yml b/config/sync/field.storage.node.field_numero.yml deleted file mode 100644 index 9cfb4c6..0000000 --- a/config/sync/field.storage.node.field_numero.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: 63e8d473-549a-47b6-93e6-3ebfded98feb -langcode: fr -status: true -dependencies: - module: - - node -id: node.field_numero -field_name: field_numero -entity_type: node -type: integer -settings: - unsigned: false - size: normal -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/views.view.site.yml b/config/sync/views.view.site.yml index afbda36..ecb9914 100644 --- a/config/sync/views.view.site.yml +++ b/config/sync/views.view.site.yml @@ -1,9 +1,8 @@ uuid: 9e172612-e65e-4292-bb32-706c81ee98e3 langcode: fr -status: true +status: false dependencies: config: - - field.storage.node.field_collectivite_s_epci - field.storage.node.field_departement_s - field.storage.node.field_geofield - field.storage.node.field_nom_de_la_commune_nb_d_hab @@ -286,68 +285,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - field_collectivite_s_epci: - id: field_collectivite_s_epci - table: node__field_collectivite_s_epci - field: field_collectivite_s_epci - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: Collectivité(s)/EPCI - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: basic_string - settings: { } - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false field_porteur_s_de_site: id: field_porteur_s_de_site table: node__field_porteur_s_de_site @@ -595,7 +532,6 @@ display: - 'user.node_grants:view' - user.permissions tags: - - 'config:field.storage.node.field_collectivite_s_epci' - 'config:field.storage.node.field_departement_s' - 'config:field.storage.node.field_nom_de_la_commune_nb_d_hab' - 'config:field.storage.node.field_nom_du_qpv_nb_d_hab' @@ -631,7 +567,6 @@ display: - 'user.node_grants:view' - user.permissions tags: - - 'config:field.storage.node.field_collectivite_s_epci' - 'config:field.storage.node.field_departement_s' - 'config:field.storage.node.field_nom_de_la_commune_nb_d_hab' - 'config:field.storage.node.field_nom_du_qpv_nb_d_hab' From b9deae8f3c2d24f7c49ce5930556b1274e523b35 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 30 Oct 2024 15:22:06 +0100 Subject: [PATCH 3/3] site field video --- ...m_display.paragraph.site_video.default.yml | 32 +++++++++++++++++ ...w_display.paragraph.site_video.default.yml | 36 +++++++++++++++++++ .../field.field.node.site.field_parties.yml | 5 +++ ....paragraph.site_video.field_titre_site.yml | 19 ++++++++++ ...field.paragraph.site_video.field_video.yml | 25 +++++++++++++ .../field.storage.paragraph.field_video.yml | 19 ++++++++++ .../paragraphs.paragraphs_type.site_video.yml | 10 ++++++ 7 files changed, 146 insertions(+) create mode 100644 config/sync/core.entity_form_display.paragraph.site_video.default.yml create mode 100644 config/sync/core.entity_view_display.paragraph.site_video.default.yml create mode 100644 config/sync/field.field.paragraph.site_video.field_titre_site.yml create mode 100644 config/sync/field.field.paragraph.site_video.field_video.yml create mode 100644 config/sync/field.storage.paragraph.field_video.yml create mode 100644 config/sync/paragraphs.paragraphs_type.site_video.yml diff --git a/config/sync/core.entity_form_display.paragraph.site_video.default.yml b/config/sync/core.entity_form_display.paragraph.site_video.default.yml new file mode 100644 index 0000000..31eefab --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.site_video.default.yml @@ -0,0 +1,32 @@ +uuid: d1125aec-fef8-4cd5-84a1-9564f99a7fec +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.site_video.field_titre_site + - field.field.paragraph.site_video.field_video + - paragraphs.paragraphs_type.site_video + module: + - video_embed_field +id: paragraph.site_video.default +targetEntityType: paragraph +bundle: site_video +mode: default +content: + field_titre_site: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_video: + type: video_embed_field_textfield + weight: 1 + region: content + settings: { } + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/sync/core.entity_view_display.paragraph.site_video.default.yml b/config/sync/core.entity_view_display.paragraph.site_video.default.yml new file mode 100644 index 0000000..0138750 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.site_video.default.yml @@ -0,0 +1,36 @@ +uuid: f518db27-1075-4898-bc9e-54e2cb98a312 +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.site_video.field_titre_site + - field.field.paragraph.site_video.field_video + - paragraphs.paragraphs_type.site_video + module: + - video_embed_field +id: paragraph.site_video.default +targetEntityType: paragraph +bundle: site_video +mode: default +content: + field_titre_site: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content + field_video: + type: video_embed_field_video + label: visually_hidden + settings: + autoplay: false + responsive: true + width: 854 + height: 480 + third_party_settings: { } + weight: 1 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/field.field.node.site.field_parties.yml b/config/sync/field.field.node.site.field_parties.yml index 213d158..79535c9 100644 --- a/config/sync/field.field.node.site.field_parties.yml +++ b/config/sync/field.field.node.site.field_parties.yml @@ -7,6 +7,7 @@ dependencies: - node.type.site - paragraphs.paragraphs_type.site_diapo - paragraphs.paragraphs_type.site_parts + - paragraphs.paragraphs_type.site_video module: - entity_reference_revisions id: node.site.field_parties @@ -24,6 +25,7 @@ settings: handler_settings: target_bundles: site_diapo: site_diapo + site_video: site_video site_parts: site_parts negate: 0 target_bundles_drag_drop: @@ -36,6 +38,9 @@ settings: site_parts: weight: 7 enabled: true + site_video: + weight: 6 + enabled: true static_parts: weight: 8 enabled: false diff --git a/config/sync/field.field.paragraph.site_video.field_titre_site.yml b/config/sync/field.field.paragraph.site_video.field_titre_site.yml new file mode 100644 index 0000000..150cff2 --- /dev/null +++ b/config/sync/field.field.paragraph.site_video.field_titre_site.yml @@ -0,0 +1,19 @@ +uuid: 32266fd4-65b2-4911-b1ea-92400361aa20 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_titre_site + - paragraphs.paragraphs_type.site_video +id: paragraph.site_video.field_titre_site +field_name: field_titre_site +entity_type: paragraph +bundle: site_video +label: Titre +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.site_video.field_video.yml b/config/sync/field.field.paragraph.site_video.field_video.yml new file mode 100644 index 0000000..a8d93a2 --- /dev/null +++ b/config/sync/field.field.paragraph.site_video.field_video.yml @@ -0,0 +1,25 @@ +uuid: cdb2a071-c22e-4110-9fbf-49d230ac5a23 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_video + - paragraphs.paragraphs_type.site_video + module: + - video_embed_field +id: paragraph.site_video.field_video +field_name: field_video +entity_type: paragraph +bundle: site_video +label: Video +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_providers: + vimeo: vimeo + youtube: youtube + youtube_playlist: '0' +field_type: video_embed_field diff --git a/config/sync/field.storage.paragraph.field_video.yml b/config/sync/field.storage.paragraph.field_video.yml new file mode 100644 index 0000000..277a91e --- /dev/null +++ b/config/sync/field.storage.paragraph.field_video.yml @@ -0,0 +1,19 @@ +uuid: aff05522-03d6-4024-94a9-185b4f740fb1 +langcode: fr +status: true +dependencies: + module: + - paragraphs + - video_embed_field +id: paragraph.field_video +field_name: field_video +entity_type: paragraph +type: video_embed_field +settings: { } +module: video_embed_field +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/paragraphs.paragraphs_type.site_video.yml b/config/sync/paragraphs.paragraphs_type.site_video.yml new file mode 100644 index 0000000..57a7a24 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.site_video.yml @@ -0,0 +1,10 @@ +uuid: eb20a662-7e1e-4d2b-855f-36708e2315e1 +langcode: fr +status: true +dependencies: { } +id: site_video +label: 'Site video' +icon_uuid: null +icon_default: null +description: '' +behavior_plugins: { }