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:
config:
- field.field.node.static.field_parties_static
- field.field.node.static.field_vignette
- image.style.thumbnail
- node.type.static
module:
- field_group
- image
- paragraphs
- 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
targetEntityType: node
bundle: static
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_parties_static:
type: paragraphs
weight: 121
weight: 1
region: content
settings:
title: Paragraphe
@ -37,56 +56,38 @@ content:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
langcode:
type: language_select
weight: 2
field_vignette:
type: image_image
weight: 4
region: content
settings:
include_locked: true
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
path:
type: path
weight: 30
weight: 5
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
hidden:
created: true
langcode: true
promote: true
sticky: true
uid: true

View File

@ -4,9 +4,11 @@ status: true
dependencies:
config:
- field.field.node.static.field_parties_static
- field.field.node.static.field_vignette
- node.type.static
module:
- entity_reference_revisions
- image
- user
id: node.static.default
targetEntityType: node
@ -22,6 +24,17 @@ content:
third_party_settings: { }
weight: 101
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:
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