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

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- field.field.node.projet.field_laureats
@@ -15,6 +16,7 @@ dependencies:
module:
- entity_reference_revisions
- file
- image
- link
- manage_display
- text
@@ -31,6 +33,17 @@ content:
third_party_settings: { }
weight: 9
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:
type: entity_reference_revisions_entity_view
label: visually_hidden

View File

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

View File

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

View File

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

View File

@@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.projet.field_documents
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- 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_parties_projet
- field.field.node.projet.field_site_projet
- image.style.large
- node.type.projet
module:
- image_field_caption
- manage_display
- smart_trim
id: node.projet.teaser
@@ -21,6 +24,17 @@ targetEntityType: node
bundle: projet
mode: teaser
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:
type: smart_trim
label: visually_hidden
@@ -43,7 +57,7 @@ content:
trim_zero: false
replace_tokens: false
third_party_settings: { }
weight: 2
weight: 3
region: content
field_laureats:
type: boolean
@@ -53,7 +67,7 @@ content:
format_custom_false: ''
format_custom_true: Lauréat
third_party_settings: { }
weight: 0
weight: 1
region: content
field_nom_de_l_equipe:
type: title
@@ -62,7 +76,7 @@ content:
link_to_entity: true
tag: h3
third_party_settings: { }
weight: 1
weight: 2
region: content
hidden:
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