added image field to CT static
This commit is contained in:
@@ -4,21 +4,26 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.static.body
|
||||
- field.field.node.static.field_images
|
||||
- image.style.thumbnail
|
||||
- node.type.static
|
||||
module:
|
||||
- field_group
|
||||
- image
|
||||
- path
|
||||
- text
|
||||
third_party_settings:
|
||||
field_group:
|
||||
group_details:
|
||||
children:
|
||||
- status
|
||||
- promote
|
||||
- langcode
|
||||
- translation
|
||||
- path
|
||||
label: Details
|
||||
region: content
|
||||
parent_name: ''
|
||||
weight: 10
|
||||
weight: 3
|
||||
format_type: details_sidebar
|
||||
format_settings:
|
||||
classes: ''
|
||||
@@ -29,6 +34,54 @@ third_party_settings:
|
||||
description: ''
|
||||
required_fields: true
|
||||
weight: 0
|
||||
group_tabs:
|
||||
children:
|
||||
- group_texte
|
||||
- group_media
|
||||
label: Tabs
|
||||
region: content
|
||||
parent_name: ''
|
||||
weight: 2
|
||||
format_type: tabs
|
||||
format_settings:
|
||||
classes: ''
|
||||
show_empty_fields: false
|
||||
id: ''
|
||||
label_as_html: false
|
||||
direction: horizontal
|
||||
width_breakpoint: 640
|
||||
group_texte:
|
||||
children:
|
||||
- body
|
||||
label: texte
|
||||
region: content
|
||||
parent_name: group_tabs
|
||||
weight: 12
|
||||
format_type: tab
|
||||
format_settings:
|
||||
classes: ''
|
||||
show_empty_fields: false
|
||||
id: ''
|
||||
label_as_html: false
|
||||
formatter: open
|
||||
description: ''
|
||||
required_fields: true
|
||||
group_media:
|
||||
children:
|
||||
- field_images
|
||||
label: Media
|
||||
region: content
|
||||
parent_name: group_tabs
|
||||
weight: 13
|
||||
format_type: tab
|
||||
format_settings:
|
||||
classes: ''
|
||||
show_empty_fields: false
|
||||
id: ''
|
||||
label_as_html: false
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
_core:
|
||||
default_config_hash: v9f8vvtrs5-WuIjQ59nW46Vh5Q7l6ye_r4jnsWR_y4Y
|
||||
id: node.static.default
|
||||
@@ -46,42 +99,37 @@ content:
|
||||
placeholder: ''
|
||||
show_summary: false
|
||||
third_party_settings: { }
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 4
|
||||
field_images:
|
||||
type: image_image
|
||||
weight: 6
|
||||
region: content
|
||||
settings: { }
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
preview_image_style: thumbnail
|
||||
third_party_settings: { }
|
||||
langcode:
|
||||
type: language_select
|
||||
weight: 2
|
||||
weight: 10
|
||||
region: content
|
||||
settings:
|
||||
include_locked: true
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
weight: 8
|
||||
weight: 11
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
promote:
|
||||
type: boolean_checkbox
|
||||
weight: 6
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
weight: 9
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
sticky:
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
weight: 7
|
||||
weight: 8
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
@@ -99,14 +147,12 @@ content:
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 3
|
||||
url_redirects:
|
||||
weight: 4
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
match_limit: 10
|
||||
size: 60
|
||||
placeholder: ''
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
hidden:
|
||||
created: true
|
||||
sticky: true
|
||||
uid: true
|
||||
|
||||
@@ -4,8 +4,11 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.static.body
|
||||
- field.field.node.static.field_images
|
||||
- image.style.wide
|
||||
- node.type.static
|
||||
module:
|
||||
- image_field_caption
|
||||
- text
|
||||
- user
|
||||
_core:
|
||||
@@ -22,10 +25,21 @@ content:
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
field_images:
|
||||
type: image_caption
|
||||
label: hidden
|
||||
settings:
|
||||
image_style: wide
|
||||
image_link: ''
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: content
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
weight: 2
|
||||
region: content
|
||||
hidden:
|
||||
langcode: true
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
uuid: 2d03b0e4-fa4a-44ec-b6a7-c015026d3c2d
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.full
|
||||
- field.field.node.static.body
|
||||
- field.field.node.static.field_images
|
||||
- image.style.wide
|
||||
- node.type.static
|
||||
module:
|
||||
- image_field_caption
|
||||
- text
|
||||
- user
|
||||
id: node.static.full
|
||||
targetEntityType: node
|
||||
bundle: static
|
||||
mode: full
|
||||
content:
|
||||
body:
|
||||
type: text_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
field_images:
|
||||
type: image_caption
|
||||
label: hidden
|
||||
settings:
|
||||
image_style: wide
|
||||
image_link: file
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: content
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 2
|
||||
region: content
|
||||
hidden:
|
||||
langcode: true
|
||||
search_api_excerpt: true
|
||||
@@ -0,0 +1,41 @@
|
||||
uuid: 3a40fc3d-ce68-4809-96c5-e397e2d7947f
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.tableau_liste
|
||||
- field.field.node.static.body
|
||||
- field.field.node.static.field_images
|
||||
- image.style.large
|
||||
- node.type.static
|
||||
module:
|
||||
- image_delta_formatter
|
||||
- user
|
||||
id: node.static.tableau_liste
|
||||
targetEntityType: node
|
||||
bundle: static
|
||||
mode: tableau_liste
|
||||
content:
|
||||
field_images:
|
||||
type: image_delta_formatter
|
||||
label: hidden
|
||||
settings:
|
||||
deltas:
|
||||
- 1
|
||||
deltas_reversed: false
|
||||
image_link: content
|
||||
image_style: large
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 100
|
||||
region: content
|
||||
hidden:
|
||||
body: true
|
||||
langcode: true
|
||||
search_api_excerpt: true
|
||||
@@ -0,0 +1,41 @@
|
||||
uuid: f3066c89-0b70-40e0-9cea-dc3b025de934
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.teaser
|
||||
- field.field.node.static.body
|
||||
- field.field.node.static.field_images
|
||||
- image.style.medium
|
||||
- node.type.static
|
||||
module:
|
||||
- image_delta_formatter
|
||||
- user
|
||||
id: node.static.teaser
|
||||
targetEntityType: node
|
||||
bundle: static
|
||||
mode: teaser
|
||||
content:
|
||||
field_images:
|
||||
type: image_delta_formatter
|
||||
label: hidden
|
||||
settings:
|
||||
deltas:
|
||||
- 1
|
||||
deltas_reversed: false
|
||||
image_link: content
|
||||
image_style: medium
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 100
|
||||
region: content
|
||||
hidden:
|
||||
body: true
|
||||
langcode: true
|
||||
search_api_excerpt: true
|
||||
@@ -4,6 +4,7 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.body
|
||||
- filter.format.wysiwyg
|
||||
- node.type.static
|
||||
module:
|
||||
- text
|
||||
@@ -22,5 +23,6 @@ default_value_callback: ''
|
||||
settings:
|
||||
display_summary: true
|
||||
required_summary: false
|
||||
allowed_formats: { }
|
||||
allowed_formats:
|
||||
- wysiwyg
|
||||
field_type: text_with_summary
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
uuid: b52cbc9c-946f-47c1-a81f-7871d0792e9c
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_images
|
||||
- node.type.static
|
||||
module:
|
||||
- image
|
||||
id: node.static.field_images
|
||||
field_name: field_images
|
||||
entity_type: node
|
||||
bundle: static
|
||||
label: Images
|
||||
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: 1
|
||||
caption_field_required: 0
|
||||
field_type: image
|
||||
Reference in New Issue
Block a user