projet image

This commit is contained in:
2025-11-04 18:52:39 +01:00
parent 9d8a7c7827
commit 2bcae2c604
8 changed files with 151 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.projet.field_documents - field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos - field.field.node.projet.field_infos
- field.field.node.projet.field_intro - field.field.node.projet.field_intro
- field.field.node.projet.field_laureats - field.field.node.projet.field_laureats
@@ -11,10 +12,12 @@ dependencies:
- field.field.node.projet.field_nom_de_l_equipe - field.field.node.projet.field_nom_de_l_equipe
- field.field.node.projet.field_parties_projet - field.field.node.projet.field_parties_projet
- field.field.node.projet.field_site_projet - field.field.node.projet.field_site_projet
- image.style.thumbnail
- node.type.projet - node.type.projet
module: module:
- field_group - field_group
- file - file
- image
- link - link
- paragraphs - paragraphs
- path - path
@@ -29,7 +32,7 @@ third_party_settings:
label: Tabs label: Tabs
region: content region: content
parent_name: '' parent_name: ''
weight: 3 weight: 2
format_type: tabs format_type: tabs
format_settings: format_settings:
classes: '' classes: ''
@@ -40,12 +43,13 @@ third_party_settings:
width_breakpoint: 640 width_breakpoint: 640
group_parties: group_parties:
children: children:
- field_image
- field_intro - field_intro
- field_parties_projet - field_parties_projet
label: Contenus label: Contenus
region: hidden region: hidden
parent_name: group_tabs parent_name: group_tabs
weight: 13 weight: 8
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''
@@ -61,7 +65,7 @@ third_party_settings:
label: Infos label: Infos
region: hidden region: hidden
parent_name: group_tabs parent_name: group_tabs
weight: 12 weight: 6
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''
@@ -105,7 +109,7 @@ third_party_settings:
label: 'Docs & Liens' label: 'Docs & Liens'
region: hidden region: hidden
parent_name: group_tabs parent_name: group_tabs
weight: 14 weight: 10
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''
@@ -122,7 +126,7 @@ mode: default
content: content:
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 30 weight: 32
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
@@ -133,9 +137,17 @@ content:
settings: settings:
progress_indicator: throbber progress_indicator: throbber
third_party_settings: { } third_party_settings: { }
field_image:
type: image_image
weight: 3
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_infos: field_infos:
type: paragraphs type: paragraphs
weight: 8 weight: 9
region: content region: content
settings: settings:
title: Paragraphe title: Paragraphe
@@ -153,7 +165,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_intro: field_intro:
type: text_textarea type: text_textarea
weight: 37 weight: 4
region: content region: content
settings: settings:
rows: 5 rows: 5
@@ -184,7 +196,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_parties_projet: field_parties_projet:
type: paragraphs type: paragraphs
weight: 38 weight: 5
region: content region: content
settings: settings:
title: Paragraphe title: Paragraphe
@@ -212,44 +224,44 @@ content:
third_party_settings: { } third_party_settings: { }
langcode: langcode:
type: language_select type: language_select
weight: 28 weight: 30
region: content region: content
settings: settings:
include_locked: true include_locked: true
third_party_settings: { } third_party_settings: { }
path: path:
type: path type: path
weight: 35 weight: 37
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
promote: promote:
type: boolean_checkbox type: boolean_checkbox
weight: 32 weight: 34
region: content region: content
settings: settings:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
simple_sitemap: simple_sitemap:
weight: 36 weight: 38
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
simple_sitemap_index_now: simple_sitemap_index_now:
weight: 34 weight: 36
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 31 weight: 33
region: content region: content
settings: settings:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
sticky: sticky:
type: boolean_checkbox type: boolean_checkbox
weight: 33 weight: 35
region: content region: content
settings: settings:
display_label: true display_label: true
@@ -264,7 +276,7 @@ content:
third_party_settings: { } third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 29 weight: 31
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS

View File

@@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.projet.field_documents - field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos - field.field.node.projet.field_infos
- field.field.node.projet.field_intro - field.field.node.projet.field_intro
- field.field.node.projet.field_laureats - field.field.node.projet.field_laureats
@@ -15,6 +16,7 @@ dependencies:
module: module:
- entity_reference_revisions - entity_reference_revisions
- file - file
- image
- link - link
- manage_display - manage_display
- text - text
@@ -31,6 +33,17 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 9 weight: 9
region: content region: content
field_image:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 13
region: content
field_infos: field_infos:
type: entity_reference_revisions_entity_view type: entity_reference_revisions_entity_view
label: visually_hidden label: visually_hidden

View File

@@ -5,6 +5,7 @@ dependencies:
config: config:
- core.entity_view_mode.node.full - core.entity_view_mode.node.full
- field.field.node.projet.field_documents - field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos - field.field.node.projet.field_infos
- field.field.node.projet.field_intro - field.field.node.projet.field_intro
- field.field.node.projet.field_laureats - field.field.node.projet.field_laureats
@@ -50,6 +51,7 @@ content:
hidden: hidden:
created: true created: true
field_documents: true field_documents: true
field_image: true
field_infos: true field_infos: true
field_intro: true field_intro: true
field_laureats: true field_laureats: true

View File

@@ -5,6 +5,7 @@ dependencies:
config: config:
- core.entity_view_mode.node.projets_lies - core.entity_view_mode.node.projets_lies
- field.field.node.projet.field_documents - field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos - field.field.node.projet.field_infos
- field.field.node.projet.field_intro - field.field.node.projet.field_intro
- field.field.node.projet.field_laureats - field.field.node.projet.field_laureats
@@ -57,6 +58,7 @@ content:
hidden: hidden:
created: true created: true
field_documents: true field_documents: true
field_image: true
field_infos: true field_infos: true
field_intro: true field_intro: true
field_liens: true field_liens: true

View File

@@ -5,6 +5,7 @@ dependencies:
config: config:
- core.entity_view_mode.node.tableau_projets_de_site - core.entity_view_mode.node.tableau_projets_de_site
- field.field.node.projet.field_documents - field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos - field.field.node.projet.field_infos
- field.field.node.projet.field_intro - field.field.node.projet.field_intro
- field.field.node.projet.field_laureats - field.field.node.projet.field_laureats
@@ -15,12 +16,24 @@ dependencies:
- node.type.projet - node.type.projet
module: module:
- advanced_text_formatter - advanced_text_formatter
- image
- manage_display - manage_display
id: node.projet.tableau_projets_de_site id: node.projet.tableau_projets_de_site
targetEntityType: node targetEntityType: node
bundle: projet bundle: projet
mode: tableau_projets_de_site mode: tableau_projets_de_site
content: content:
field_image:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
field_intro: field_intro:
type: advanced_text type: advanced_text
label: visually_hidden label: visually_hidden
@@ -50,7 +63,7 @@ content:
token_replace: 0 token_replace: 0
autop: 0 autop: 0
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 3
region: content region: content
field_laureats: field_laureats:
type: boolean type: boolean
@@ -60,7 +73,7 @@ content:
format_custom_false: '' format_custom_false: ''
format_custom_true: Lauréats format_custom_true: Lauréats
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 1
region: content region: content
field_nom_de_l_equipe: field_nom_de_l_equipe:
type: title type: title
@@ -69,12 +82,12 @@ content:
link_to_entity: false link_to_entity: false
tag: h2 tag: h2
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 2
region: content region: content
links: links:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 3 weight: 4
region: content region: content
hidden: hidden:
created: true created: true

View File

@@ -5,6 +5,7 @@ dependencies:
config: config:
- core.entity_view_mode.node.teaser - core.entity_view_mode.node.teaser
- field.field.node.projet.field_documents - field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos - field.field.node.projet.field_infos
- field.field.node.projet.field_intro - field.field.node.projet.field_intro
- field.field.node.projet.field_laureats - field.field.node.projet.field_laureats
@@ -12,8 +13,10 @@ dependencies:
- field.field.node.projet.field_nom_de_l_equipe - field.field.node.projet.field_nom_de_l_equipe
- field.field.node.projet.field_parties_projet - field.field.node.projet.field_parties_projet
- field.field.node.projet.field_site_projet - field.field.node.projet.field_site_projet
- image.style.large
- node.type.projet - node.type.projet
module: module:
- image_field_caption
- manage_display - manage_display
- smart_trim - smart_trim
id: node.projet.teaser id: node.projet.teaser
@@ -21,6 +24,17 @@ targetEntityType: node
bundle: projet bundle: projet
mode: teaser mode: teaser
content: content:
field_image:
type: image_caption
label: visually_hidden
settings:
image_style: large
image_link: content
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
field_intro: field_intro:
type: smart_trim type: smart_trim
label: visually_hidden label: visually_hidden
@@ -43,7 +57,7 @@ content:
trim_zero: false trim_zero: false
replace_tokens: false replace_tokens: false
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 3
region: content region: content
field_laureats: field_laureats:
type: boolean type: boolean
@@ -53,7 +67,7 @@ content:
format_custom_false: '' format_custom_false: ''
format_custom_true: Lauréat format_custom_true: Lauréat
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 1
region: content region: content
field_nom_de_l_equipe: field_nom_de_l_equipe:
type: title type: title
@@ -62,7 +76,7 @@ content:
link_to_entity: true link_to_entity: true
tag: h3 tag: h3
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 2
region: content region: content
hidden: hidden:
created: true created: true

View File

@@ -0,0 +1,41 @@
uuid: ced725a5-638f-4ccc-a3aa-cb154f21f455
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_image
- node.type.projet
module:
- image
id: node.projet.field_image
field_name: field_image
entity_type: node
bundle: projet
label: image
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg webp'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: false
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
caption_field: true
caption_field_required: false
field_type: image

View File

@@ -0,0 +1,31 @@
uuid: 4bd07a20-5afc-4fcb-ba40-1cd7285ffe80
langcode: fr
status: true
dependencies:
module:
- file
- image
- node
id: node.field_image
field_name: field_image
entity_type: node
type: image
settings:
target_type: file
display_field: false
display_default: true
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false