link & doc fields in statics
This commit is contained in:
parent
0ab03ff575
commit
bddb4b2088
|
@ -3,13 +3,17 @@ langcode: fr
|
|||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.static.field_liens
|
||||
- field.field.node.static.field_parties_static
|
||||
- field.field.node.static.field_pieces_jointes
|
||||
- field.field.node.static.field_vignette
|
||||
- image.style.thumbnail
|
||||
- node.type.static
|
||||
module:
|
||||
- field_group
|
||||
- file
|
||||
- image
|
||||
- link
|
||||
- paragraphs
|
||||
- path
|
||||
third_party_settings:
|
||||
|
@ -22,7 +26,7 @@ third_party_settings:
|
|||
label: Details
|
||||
region: content
|
||||
parent_name: ''
|
||||
weight: 4
|
||||
weight: 3
|
||||
format_type: details_sidebar
|
||||
format_settings:
|
||||
classes: ''
|
||||
|
@ -33,14 +37,71 @@ third_party_settings:
|
|||
description: ''
|
||||
required_fields: true
|
||||
weight: -100
|
||||
group_tabs:
|
||||
children:
|
||||
- group_parties
|
||||
- group_extra
|
||||
label: Tabs
|
||||
region: content
|
||||
parent_name: ''
|
||||
weight: 1
|
||||
format_type: tabs
|
||||
format_settings:
|
||||
classes: ''
|
||||
show_empty_fields: false
|
||||
id: ''
|
||||
label_as_html: false
|
||||
direction: horizontal
|
||||
width_breakpoint: 640
|
||||
group_parties:
|
||||
children:
|
||||
- field_parties_static
|
||||
label: Parties
|
||||
region: content
|
||||
parent_name: group_tabs
|
||||
weight: 11
|
||||
format_type: tab
|
||||
format_settings:
|
||||
classes: ''
|
||||
show_empty_fields: false
|
||||
id: ''
|
||||
label_as_html: false
|
||||
formatter: open
|
||||
description: ''
|
||||
required_fields: true
|
||||
group_extra:
|
||||
children:
|
||||
- field_pieces_jointes
|
||||
- field_liens
|
||||
label: Extra
|
||||
region: content
|
||||
parent_name: group_tabs
|
||||
weight: 12
|
||||
format_type: tab
|
||||
format_settings:
|
||||
classes: ''
|
||||
show_empty_fields: false
|
||||
id: ''
|
||||
label_as_html: false
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
id: node.static.default
|
||||
targetEntityType: node
|
||||
bundle: static
|
||||
mode: default
|
||||
content:
|
||||
field_liens:
|
||||
type: link_default
|
||||
weight: 5
|
||||
region: content
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
field_parties_static:
|
||||
type: paragraphs
|
||||
weight: 1
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
title: Paragraphe
|
||||
|
@ -56,6 +117,13 @@ content:
|
|||
collapse_edit_all: collapse_edit_all
|
||||
duplicate: duplicate
|
||||
third_party_settings: { }
|
||||
field_pieces_jointes:
|
||||
type: file_generic
|
||||
weight: 4
|
||||
region: content
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
third_party_settings: { }
|
||||
field_vignette:
|
||||
type: image_image
|
||||
weight: 4
|
||||
|
|
|
@ -3,18 +3,34 @@ langcode: fr
|
|||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.static.field_liens
|
||||
- field.field.node.static.field_parties_static
|
||||
- field.field.node.static.field_pieces_jointes
|
||||
- field.field.node.static.field_vignette
|
||||
- node.type.static
|
||||
module:
|
||||
- entity_reference_revisions
|
||||
- file
|
||||
- image
|
||||
- link
|
||||
- user
|
||||
id: node.static.default
|
||||
targetEntityType: node
|
||||
bundle: static
|
||||
mode: default
|
||||
content:
|
||||
field_liens:
|
||||
type: link
|
||||
label: above
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: ''
|
||||
target: ''
|
||||
third_party_settings: { }
|
||||
weight: 12
|
||||
region: content
|
||||
field_parties_static:
|
||||
type: entity_reference_revisions_entity_view
|
||||
label: above
|
||||
|
@ -24,6 +40,14 @@ content:
|
|||
third_party_settings: { }
|
||||
weight: 101
|
||||
region: content
|
||||
field_pieces_jointes:
|
||||
type: file_default
|
||||
label: above
|
||||
settings:
|
||||
use_description_as_link_text: true
|
||||
third_party_settings: { }
|
||||
weight: 11
|
||||
region: content
|
||||
field_vignette:
|
||||
type: image
|
||||
label: visually_hidden
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
uuid: d627e113-db8f-4428-b51e-19ca6c0b9cef
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_liens
|
||||
- node.type.static
|
||||
module:
|
||||
- link
|
||||
id: node.static.field_liens
|
||||
field_name: field_liens
|
||||
entity_type: node
|
||||
bundle: static
|
||||
label: Liens
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
title: 1
|
||||
link_type: 17
|
||||
field_type: link
|
|
@ -0,0 +1,27 @@
|
|||
uuid: 8b4a2ef4-5f72-42e3-b7a6-08c00cd62caa
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_pieces_jointes
|
||||
- node.type.static
|
||||
module:
|
||||
- file
|
||||
id: node.static.field_pieces_jointes
|
||||
field_name: field_pieces_jointes
|
||||
entity_type: node
|
||||
bundle: static
|
||||
label: 'Pièces jointes'
|
||||
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: 'pdf doc docx odt zip'
|
||||
max_filesize: ''
|
||||
description_field: true
|
||||
field_type: file
|
Loading…
Reference in New Issue