added image field to CT static
This commit is contained in:
@@ -4,21 +4,26 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.static.body
|
- field.field.node.static.body
|
||||||
|
- field.field.node.static.field_images
|
||||||
|
- image.style.thumbnail
|
||||||
- node.type.static
|
- node.type.static
|
||||||
module:
|
module:
|
||||||
- field_group
|
- field_group
|
||||||
|
- image
|
||||||
- path
|
- path
|
||||||
- text
|
- text
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
field_group:
|
field_group:
|
||||||
group_details:
|
group_details:
|
||||||
children:
|
children:
|
||||||
|
- status
|
||||||
|
- promote
|
||||||
- langcode
|
- langcode
|
||||||
- translation
|
- path
|
||||||
label: Details
|
label: Details
|
||||||
region: content
|
region: content
|
||||||
parent_name: ''
|
parent_name: ''
|
||||||
weight: 10
|
weight: 3
|
||||||
format_type: details_sidebar
|
format_type: details_sidebar
|
||||||
format_settings:
|
format_settings:
|
||||||
classes: ''
|
classes: ''
|
||||||
@@ -29,6 +34,54 @@ third_party_settings:
|
|||||||
description: ''
|
description: ''
|
||||||
required_fields: true
|
required_fields: true
|
||||||
weight: 0
|
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:
|
_core:
|
||||||
default_config_hash: v9f8vvtrs5-WuIjQ59nW46Vh5Q7l6ye_r4jnsWR_y4Y
|
default_config_hash: v9f8vvtrs5-WuIjQ59nW46Vh5Q7l6ye_r4jnsWR_y4Y
|
||||||
id: node.static.default
|
id: node.static.default
|
||||||
@@ -46,42 +99,37 @@ content:
|
|||||||
placeholder: ''
|
placeholder: ''
|
||||||
show_summary: false
|
show_summary: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
created:
|
field_images:
|
||||||
type: datetime_timestamp
|
type: image_image
|
||||||
weight: 4
|
weight: 6
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings:
|
||||||
|
progress_indicator: throbber
|
||||||
|
preview_image_style: thumbnail
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
langcode:
|
langcode:
|
||||||
type: language_select
|
type: language_select
|
||||||
weight: 2
|
weight: 10
|
||||||
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: 8
|
weight: 11
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
promote:
|
promote:
|
||||||
type: boolean_checkbox
|
|
||||||
weight: 6
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
display_label: true
|
|
||||||
third_party_settings: { }
|
|
||||||
status:
|
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 9
|
weight: 9
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
sticky:
|
status:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 7
|
weight: 8
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
@@ -99,14 +147,12 @@ content:
|
|||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
uid:
|
url_redirects:
|
||||||
type: entity_reference_autocomplete
|
weight: 4
|
||||||
weight: 3
|
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings: { }
|
||||||
match_operator: CONTAINS
|
|
||||||
match_limit: 10
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
hidden: { }
|
hidden:
|
||||||
|
created: true
|
||||||
|
sticky: true
|
||||||
|
uid: true
|
||||||
|
|||||||
@@ -4,8 +4,11 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.static.body
|
- field.field.node.static.body
|
||||||
|
- field.field.node.static.field_images
|
||||||
|
- image.style.wide
|
||||||
- node.type.static
|
- node.type.static
|
||||||
module:
|
module:
|
||||||
|
- image_field_caption
|
||||||
- text
|
- text
|
||||||
- user
|
- user
|
||||||
_core:
|
_core:
|
||||||
@@ -22,10 +25,21 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: content
|
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:
|
links:
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 1
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
hidden:
|
hidden:
|
||||||
langcode: true
|
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:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.storage.node.body
|
- field.storage.node.body
|
||||||
|
- filter.format.wysiwyg
|
||||||
- node.type.static
|
- node.type.static
|
||||||
module:
|
module:
|
||||||
- text
|
- text
|
||||||
@@ -22,5 +23,6 @@ default_value_callback: ''
|
|||||||
settings:
|
settings:
|
||||||
display_summary: true
|
display_summary: true
|
||||||
required_summary: false
|
required_summary: false
|
||||||
allowed_formats: { }
|
allowed_formats:
|
||||||
|
- wysiwyg
|
||||||
field_type: text_with_summary
|
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