#3250 tous les sites checkbox

This commit is contained in:
Bachir Soussi Chiadmi 2025-03-24 16:00:43 +01:00
parent 13df12b92c
commit 7a3c5ee38b
14 changed files with 273 additions and 28 deletions

View File

@ -11,6 +11,7 @@ dependencies:
- field.field.node.actualite.field_liens - field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid - field.field.node.actualite.field_poid
- field.field.node.actualite.field_site - field.field.node.actualite.field_site
- field.field.node.actualite.field_tous_les_sites
- field.field.node.actualite.field_type_d_actualite - field.field.node.actualite.field_type_d_actualite
- image.style.thumbnail - image.style.thumbnail
- node.type.actualite - node.type.actualite
@ -27,6 +28,7 @@ third_party_settings:
field_group: field_group:
group_details: group_details:
children: children:
- field_type_d_actualite
- status - status
- promote - promote
- field_a_la_une - field_a_la_une
@ -39,7 +41,7 @@ third_party_settings:
label: Details label: Details
region: content region: content
parent_name: '' parent_name: ''
weight: 8 weight: 2
format_type: details_sidebar format_type: details_sidebar
format_settings: format_settings:
classes: '' classes: ''
@ -50,6 +52,75 @@ third_party_settings:
description: '' description: ''
required_fields: true required_fields: true
weight: -100 weight: -100
group_tabs:
children:
- group_principal
- group_liens
- group_media
label: Tabs
region: content
parent_name: ''
weight: 1
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
direction: horizontal
width_breakpoint: 640
group_liens:
children:
- field_tous_les_sites
- field_site
- field_liens
label: Liens
region: content
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_media:
children:
- field_images
- field_fichiers
label: Media
region: content
parent_name: group_tabs
weight: 22
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_principal:
children:
- field_date
- body
label: Principal
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
id: node.actualite.default id: node.actualite.default
targetEntityType: node targetEntityType: node
bundle: actualite bundle: actualite
@ -67,13 +138,13 @@ content:
third_party_settings: { } third_party_settings: { }
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 13 weight: 7
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_a_la_une: field_a_la_une:
type: boolean_checkbox type: boolean_checkbox
weight: 10 weight: 4
region: content region: content
settings: settings:
display_label: true display_label: true
@ -86,14 +157,14 @@ content:
third_party_settings: { } third_party_settings: { }
field_fichiers: field_fichiers:
type: file_generic type: file_generic
weight: 5 weight: 25
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
third_party_settings: { } third_party_settings: { }
field_images: field_images:
type: image_image type: image_image
weight: 7 weight: 24
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
@ -101,7 +172,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_liens: field_liens:
type: link_default type: link_default
weight: 6 weight: 5
region: content region: content
settings: settings:
placeholder_url: '' placeholder_url: ''
@ -109,14 +180,14 @@ content:
third_party_settings: { } third_party_settings: { }
field_poid: field_poid:
type: number type: number
weight: 11 weight: 5
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_site: field_site:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 2 weight: 4
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
@ -124,6 +195,13 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_tous_les_sites:
type: boolean_checkbox
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
field_type_d_actualite: field_type_d_actualite:
type: autocomplete_deluxe type: autocomplete_deluxe
weight: 1 weight: 1
@ -143,30 +221,30 @@ content:
third_party_settings: { } third_party_settings: { }
path: path:
type: path type: path
weight: 14 weight: 8
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
promote: promote:
type: boolean_checkbox type: boolean_checkbox
weight: 9 weight: 3
region: content region: content
settings: settings:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
simple_sitemap: simple_sitemap:
weight: 15 weight: 9
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
simple_sitemap_index_now: simple_sitemap_index_now:
weight: 16 weight: 10
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 8 weight: 2
region: content region: content
settings: settings:
display_label: true display_label: true
@ -179,14 +257,9 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
translation:
weight: 9
region: content
settings: { }
third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 12 weight: 6
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
@ -197,3 +270,4 @@ content:
hidden: hidden:
langcode: true langcode: true
sticky: true sticky: true
translation: true

View File

@ -12,6 +12,7 @@ dependencies:
- field.field.node.ressource.field_mots_clefs - field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site - field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre - field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
- field.field.node.ressource.field_type_de_ressource - field.field.node.ressource.field_type_de_ressource
- image.style.thumbnail - image.style.thumbnail
- node.type.ressource - node.type.ressource
@ -37,7 +38,7 @@ third_party_settings:
label: Details label: Details
region: content region: content
parent_name: '' parent_name: ''
weight: 6 weight: 8
format_type: details_sidebar format_type: details_sidebar
format_settings: format_settings:
classes: '' classes: ''
@ -48,6 +49,75 @@ third_party_settings:
description: '' description: ''
required_fields: true required_fields: true
weight: -100 weight: -100
group_tabs:
children:
- group_principal
- group_liens
- group_media
label: Tabs
region: content
parent_name: ''
weight: 1
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
direction: horizontal
width_breakpoint: 640
group_liens:
children:
- field_tous_les_sites
- field_site
- field_liens
label: Liens
region: content
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_principal:
children:
- field_sous_titre
- body
label: Principal
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: open
description: ''
required_fields: true
group_media:
children:
- field_images
- field_documents
label: Média
region: content
parent_name: group_tabs
weight: 22
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
id: node.ressource.default id: node.ressource.default
targetEntityType: node targetEntityType: node
bundle: ressource bundle: ressource
@ -79,14 +149,14 @@ content:
third_party_settings: { } third_party_settings: { }
field_documents: field_documents:
type: file_generic type: file_generic
weight: 5 weight: 6
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
third_party_settings: { } third_party_settings: { }
field_images: field_images:
type: image_image type: image_image
weight: 4 weight: 5
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
@ -94,7 +164,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_liens: field_liens:
type: link_default type: link_default
weight: 6 weight: 46
region: content region: content
settings: settings:
placeholder_url: '' placeholder_url: ''
@ -112,7 +182,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_site: field_site:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 2 weight: 45
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
@ -122,12 +192,19 @@ content:
third_party_settings: { } third_party_settings: { }
field_sous_titre: field_sous_titre:
type: string_textfield type: string_textfield
weight: 1 weight: 2
region: content region: content
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_tous_les_sites:
type: boolean_checkbox
weight: 44
region: content
settings:
display_label: true
third_party_settings: { }
field_type_de_ressource: field_type_de_ressource:
type: options_select type: options_select
weight: 39 weight: 39

View File

@ -11,6 +11,7 @@ dependencies:
- field.field.node.actualite.field_liens - field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid - field.field.node.actualite.field_poid
- field.field.node.actualite.field_site - field.field.node.actualite.field_site
- field.field.node.actualite.field_tous_les_sites
- field.field.node.actualite.field_type_d_actualite - field.field.node.actualite.field_type_d_actualite
- image.style.wide - image.style.wide
- node.type.actualite - node.type.actualite
@ -82,6 +83,16 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 2
region: content region: content
field_tous_les_sites:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 106
region: content
field_type_d_actualite: field_type_d_actualite:
type: entity_reference_label type: entity_reference_label
label: visually_hidden label: visually_hidden

View File

@ -12,6 +12,7 @@ dependencies:
- field.field.node.actualite.field_liens - field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid - field.field.node.actualite.field_poid
- field.field.node.actualite.field_site - field.field.node.actualite.field_site
- field.field.node.actualite.field_tous_les_sites
- field.field.node.actualite.field_type_d_actualite - field.field.node.actualite.field_type_d_actualite
- image.style.wide - image.style.wide
- node.type.actualite - node.type.actualite
@ -104,6 +105,7 @@ hidden:
created: true created: true
field_a_la_une: true field_a_la_une: true
field_poid: true field_poid: true
field_tous_les_sites: true
langcode: true langcode: true
links: true links: true
search_api_excerpt: true search_api_excerpt: true

View File

@ -12,6 +12,7 @@ dependencies:
- field.field.node.actualite.field_liens - field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid - field.field.node.actualite.field_poid
- field.field.node.actualite.field_site - field.field.node.actualite.field_site
- field.field.node.actualite.field_tous_les_sites
- field.field.node.actualite.field_type_d_actualite - field.field.node.actualite.field_type_d_actualite
- image.style.wide - image.style.wide
- node.type.actualite - node.type.actualite
@ -87,6 +88,7 @@ hidden:
field_fichiers: true field_fichiers: true
field_liens: true field_liens: true
field_poid: true field_poid: true
field_tous_les_sites: true
langcode: true langcode: true
links: true links: true
search_api_excerpt: true search_api_excerpt: true

View File

@ -12,6 +12,7 @@ dependencies:
- field.field.node.ressource.field_mots_clefs - field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site - field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre - field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
- field.field.node.ressource.field_type_de_ressource - field.field.node.ressource.field_type_de_ressource
- image.style.wide - image.style.wide
- node.type.ressource - node.type.ressource
@ -106,6 +107,16 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 12 weight: 12
region: content region: content
field_tous_les_sites:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 106
region: content
field_type_de_ressource: field_type_de_ressource:
type: entity_reference_label type: entity_reference_label
label: visually_hidden label: visually_hidden

View File

@ -13,6 +13,7 @@ dependencies:
- field.field.node.ressource.field_mots_clefs - field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site - field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre - field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
- field.field.node.ressource.field_type_de_ressource - field.field.node.ressource.field_type_de_ressource
- image.style.wide - image.style.wide
- node.type.ressource - node.type.ressource
@ -78,6 +79,7 @@ hidden:
field_documents: true field_documents: true
field_mots_clefs: true field_mots_clefs: true
field_sous_titre: true field_sous_titre: true
field_tous_les_sites: true
field_type_de_ressource: true field_type_de_ressource: true
langcode: true langcode: true
search_api_excerpt: true search_api_excerpt: true

View File

@ -13,6 +13,7 @@ dependencies:
- field.field.node.ressource.field_mots_clefs - field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site - field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre - field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
- field.field.node.ressource.field_type_de_ressource - field.field.node.ressource.field_type_de_ressource
- image.style.wide - image.style.wide
- node.type.ressource - node.type.ressource
@ -120,6 +121,7 @@ content:
region: content region: content
hidden: hidden:
created: true created: true
field_tous_les_sites: true
field_type_de_ressource: true field_type_de_ressource: true
langcode: true langcode: true
links: true links: true

View File

@ -10,7 +10,7 @@ id: node.actualite.field_site
field_name: field_site field_name: field_site
entity_type: node entity_type: node
bundle: actualite bundle: actualite
label: Site label: Site(s)
description: '' description: ''
required: false required: false
translatable: false translatable: false

View File

@ -0,0 +1,23 @@
uuid: b590b728-2151-49ac-b542-fbbaa0b1343a
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_tous_les_sites
- node.type.actualite
id: node.actualite.field_tous_les_sites
field_name: field_tous_les_sites
entity_type: node
bundle: actualite
label: 'Tous les sites'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: oui
off_label: non
field_type: boolean

View File

@ -10,7 +10,7 @@ id: node.ressource.field_site
field_name: field_site field_name: field_site
entity_type: node entity_type: node
bundle: ressource bundle: ressource
label: Site label: Site(s)
description: '' description: ''
required: false required: false
translatable: false translatable: false

View File

@ -0,0 +1,23 @@
uuid: 5ca39b7a-a663-4e36-bee4-57022e22b6c6
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_tous_les_sites
- node.type.ressource
id: node.ressource.field_tous_les_sites
field_name: field_tous_les_sites
entity_type: node
bundle: ressource
label: 'Tous les sites'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: oui
off_label: non
field_type: boolean

View File

@ -12,7 +12,7 @@ settings:
target_type: node target_type: node
module: core module: core
locked: false locked: false
cardinality: 1 cardinality: -1
translatable: true translatable: true
indexes: { } indexes: { }
persist_with_no_fields: false persist_with_no_fields: false

View File

@ -0,0 +1,18 @@
uuid: a327636e-e42c-4625-87cc-33fcbda0432b
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_tous_les_sites
field_name: field_tous_les_sites
entity_type: node
type: boolean
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false