partenaires sous titres

This commit is contained in:
Bachir Soussi Chiadmi 2024-11-12 12:44:11 +01:00
parent 30394181d6
commit e96426a8e0
6 changed files with 142 additions and 19 deletions

View File

@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.node.partenaire.body
- field.field.node.partenaire.field_groupe
- field.field.node.partenaire.field_lien
- field.field.node.partenaire.field_logo
- field.field.node.partenaire.field_poid
@ -19,6 +20,7 @@ third_party_settings:
field_group:
group_details:
children:
- field_groupe
- field_poid
- langcode
- translation
@ -57,6 +59,12 @@ content:
region: content
settings: { }
third_party_settings: { }
field_groupe:
type: options_select
weight: 131
region: content
settings: { }
third_party_settings: { }
field_lien:
type: link_default
weight: 2
@ -75,14 +83,14 @@ content:
third_party_settings: { }
field_poid:
type: number
weight: 26
weight: 132
region: content
settings:
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 27
weight: 133
region: content
settings:
include_locked: true
@ -100,6 +108,16 @@ content:
settings:
display_label: true
third_party_settings: { }
simple_sitemap:
weight: 10
region: content
settings: { }
third_party_settings: { }
simple_sitemap_index_now:
weight: 130
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 10
@ -123,7 +141,7 @@ content:
placeholder: ''
third_party_settings: { }
translation:
weight: 28
weight: 134
region: content
settings: { }
third_party_settings: { }

View File

@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.node.partenaire.body
- field.field.node.partenaire.field_groupe
- field.field.node.partenaire.field_lien
- field.field.node.partenaire.field_logo
- field.field.node.partenaire.field_poid
@ -66,6 +67,7 @@ content:
region: content
hidden:
created: true
field_groupe: true
field_poid: true
langcode: true
links: true

View File

@ -5,13 +5,14 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.partenaire.body
- field.field.node.partenaire.field_groupe
- field.field.node.partenaire.field_lien
- field.field.node.partenaire.field_logo
- field.field.node.partenaire.field_poid
- node.type.partenaire
module:
- manage_display
- text
- user
id: node.partenaire.teaser
targetEntityType: node
bundle: partenaire
@ -30,9 +31,21 @@ content:
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
field_groupe: true
field_lien: true
field_logo: true
field_poid: true
langcode: true
search_api_excerpt: true
uid: true

View File

@ -0,0 +1,23 @@
uuid: 0f7a744a-3785-4679-bbc9-26b1f105dd59
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_groupe
- node.type.partenaire
module:
- options
id: node.partenaire.field_groupe
field_name: field_groupe
entity_type: node
bundle: partenaire
label: Groupe
description: ''
required: false
translatable: false
default_value:
-
value: les_partenaires
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -0,0 +1,27 @@
uuid: 0923f73f-8dd2-4a1d-9079-ea0cd126d3b1
langcode: fr
status: true
dependencies:
module:
- node
- options
id: node.field_groupe
field_name: field_groupe
entity_type: node
type: list_string
settings:
allowed_values:
-
value: les_ministeres
label: 'Les ministères'
-
value: les_partenaires
label: 'Les partenaires'
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -4,10 +4,12 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.storage.node.field_groupe
- node.type.partenaire
- system.menu.footer
module:
- node
- options
- user
id: partenaires
label: Partenaires
@ -25,32 +27,48 @@ display:
display_options:
title: 'Les partenaires'
fields:
title:
id: title
table: node_field_data
field: title
field_groupe:
id: field_groupe
table: node__field_groupe
field: field_groupe
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
word_boundary: false
ellipsis: 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: true
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
@ -59,9 +77,8 @@ display:
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
@ -148,6 +165,15 @@ display:
partenaire: partenaire
style:
type: default
options:
grouping:
-
field: field_groupe
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
uses_fields: true
row:
type: 'entity:node'
options:
@ -163,7 +189,19 @@ display:
relationships: { }
header: { }
footer: { }
display_extenders: { }
display_extenders:
matomo:
enabled: false
keyword_gets: ''
keyword_behavior: first
keyword_concat_separator: ' '
category_behavior: none
category_gets: ''
category_concat_separator: ' '
category_fallback: ''
category_facets: { }
category_facets_concat_separator: ', '
simple_sitemap_display_extender: { }
cache_metadata:
max-age: -1
contexts:
@ -171,7 +209,8 @@ display:
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags: { }
tags:
- 'config:field.storage.node.field_groupe'
page_1:
id: page_1
display_title: Page
@ -209,4 +248,5 @@ display:
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags: { }
tags:
- 'config:field.storage.node.field_groupe'