field vignette in CT static

This commit is contained in:
Bachir Soussi Chiadmi 2024-10-02 22:33:59 +02:00
parent 63284b122b
commit 57a6fedde2
3 changed files with 94 additions and 39 deletions

View File

@ -4,24 +4,43 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.static.field_parties_static - field.field.node.static.field_parties_static
- field.field.node.static.field_vignette
- image.style.thumbnail
- node.type.static - node.type.static
module: module:
- field_group
- image
- paragraphs - paragraphs
- path - path
third_party_settings:
field_group:
group_details:
children:
- status
- field_vignette
- path
label: Details
region: content
parent_name: ''
weight: 4
format_type: details_sidebar
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: true
weight: -100
id: node.static.default id: node.static.default
targetEntityType: node targetEntityType: node
bundle: static bundle: static
mode: default mode: default
content: content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_parties_static: field_parties_static:
type: paragraphs type: paragraphs
weight: 121 weight: 1
region: content region: content
settings: settings:
title: Paragraphe title: Paragraphe
@ -37,56 +56,38 @@ content:
collapse_edit_all: collapse_edit_all collapse_edit_all: collapse_edit_all
duplicate: duplicate duplicate: duplicate
third_party_settings: { } third_party_settings: { }
langcode: field_vignette:
type: language_select type: image_image
weight: 2 weight: 4
region: content region: content
settings: settings:
include_locked: true progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { } third_party_settings: { }
path: path:
type: path type: path
weight: 30 weight: 5
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 120 weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content region: content
settings: settings:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
title: title:
type: string_textfield type: string_textfield
weight: -5 weight: 0
region: content region: content
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
uid: hidden:
type: entity_reference_autocomplete created: true
weight: 5 langcode: true
region: content promote: true
settings: sticky: true
match_operator: CONTAINS uid: true
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View File

@ -4,9 +4,11 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.static.field_parties_static - field.field.node.static.field_parties_static
- field.field.node.static.field_vignette
- node.type.static - node.type.static
module: module:
- entity_reference_revisions - entity_reference_revisions
- image
- user - user
id: node.static.default id: node.static.default
targetEntityType: node targetEntityType: node
@ -22,6 +24,17 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 101 weight: 101
region: content region: content
field_vignette:
type: image
label: visually_hidden
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
links: links:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }

View File

@ -0,0 +1,41 @@
uuid: 83ca99b7-d19c-4230-8de2-f10487e1257b
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_vignette
- node.type.static
module:
- image
id: node.static.field_vignette
field_name: field_vignette
entity_type: node
bundle: static
label: Vignette
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: true
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
caption_field: 1
caption_field_required: 0
field_type: image