added all fields to actions

This commit is contained in:
Bachir Soussi Chiadmi 2022-12-05 16:41:57 +01:00
parent 69156838a0
commit a037a359de
13 changed files with 495 additions and 9 deletions

View File

@ -27,10 +27,10 @@ third_party_settings:
group_tabs: group_tabs:
children: children:
- group_texte - group_texte
- group_actions
- group_media - group_media
- group_documents - group_documents
- group_liens - group_liens
- group_actions
label: Tabs label: Tabs
region: content region: content
parent_name: '' parent_name: ''
@ -50,7 +50,7 @@ third_party_settings:
label: Media label: Media
region: content region: content
parent_name: group_tabs parent_name: group_tabs
weight: 16 weight: 12
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''
@ -65,7 +65,7 @@ third_party_settings:
label: Texte label: Texte
region: content region: content
parent_name: group_tabs parent_name: group_tabs
weight: 15 weight: 10
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''
@ -100,7 +100,7 @@ third_party_settings:
label: Documents label: Documents
region: content region: content
parent_name: group_tabs parent_name: group_tabs
weight: 17 weight: 13
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''
@ -115,7 +115,7 @@ third_party_settings:
label: Liens label: Liens
region: content region: content
parent_name: group_tabs parent_name: group_tabs
weight: 18 weight: 14
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''
@ -128,9 +128,9 @@ third_party_settings:
children: children:
- field_actions - field_actions
label: Actions label: Actions
region: hidden region: content
parent_name: group_tabs parent_name: group_tabs
weight: 19 weight: 11
format_type: tab format_type: tab
format_settings: format_settings:
classes: '' classes: ''

View File

@ -3,19 +3,163 @@ langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.action.field_audio
- field.field.paragraph.action.field_description - field.field.paragraph.action.field_description
- field.field.paragraph.action.field_documents
- field.field.paragraph.action.field_images
- field.field.paragraph.action.field_liens
- field.field.paragraph.action.field_menace_maintien - field.field.paragraph.action.field_menace_maintien
- field.field.paragraph.action.field_videos
- image.style.thumbnail
- paragraphs.paragraphs_type.action - paragraphs.paragraphs_type.action
module: module:
- field_group
- file
- image
- link
- text - text
- video_embed_field
third_party_settings:
field_group:
group_tabs:
children:
- group_texte
- group_media
- group_videos
- group_audio
- group_documents
- group_liens
label: Tabs
region: content
parent_name: ''
weight: 0
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
direction: horizontal
width_breakpoint: 640
group_texte:
children:
- field_menace_maintien
- field_description
label: Texte
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: open
description: ''
required_fields: true
group_media:
children:
- field_images
label: Images
region: content
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_liens:
children:
- field_liens
label: Liens
region: content
parent_name: group_tabs
weight: 25
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_details:
children: { }
label: Details
region: hidden
parent_name: ''
weight: 1
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: true
group_documents:
children:
- field_documents
label: Documents
region: content
parent_name: group_tabs
weight: 24
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_videos:
children:
- field_videos
label: Videos
region: content
parent_name: group_tabs
weight: 22
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_audio:
children:
- field_audio
label: Audio
region: content
parent_name: group_tabs
weight: 23
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: paragraph.action.default id: paragraph.action.default
targetEntityType: paragraph targetEntityType: paragraph
bundle: action bundle: action
mode: default mode: default
content: content:
field_audio:
type: file_generic
weight: 26
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_description: field_description:
type: text_textarea_with_summary type: text_textarea_with_summary
weight: 1 weight: 2
region: content region: content
settings: settings:
rows: 9 rows: 9
@ -23,9 +167,38 @@ content:
placeholder: '' placeholder: ''
show_summary: false show_summary: false
third_party_settings: { } third_party_settings: { }
field_documents:
type: file_generic
weight: 27
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_images:
type: image_image
weight: 24
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_liens:
type: link_default
weight: 28
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_menace_maintien: field_menace_maintien:
type: options_select type: options_select
weight: 0 weight: 1
region: content
settings: { }
third_party_settings: { }
field_videos:
type: video_embed_field_textfield
weight: 25
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }

View File

@ -3,17 +3,34 @@ langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.action.field_audio
- field.field.paragraph.action.field_description - field.field.paragraph.action.field_description
- field.field.paragraph.action.field_documents
- field.field.paragraph.action.field_images
- field.field.paragraph.action.field_liens
- field.field.paragraph.action.field_menace_maintien - field.field.paragraph.action.field_menace_maintien
- field.field.paragraph.action.field_videos
- paragraphs.paragraphs_type.action - paragraphs.paragraphs_type.action
module: module:
- file
- image
- link
- options - options
- text - text
- video_embed_field
id: paragraph.action.default id: paragraph.action.default
targetEntityType: paragraph targetEntityType: paragraph
bundle: action bundle: action
mode: default mode: default
content: content:
field_audio:
type: file_default
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 4
region: content
field_description: field_description:
type: text_default type: text_default
label: above label: above
@ -21,6 +38,37 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 1
region: content region: content
field_documents:
type: file_default
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 5
region: content
field_images:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 3
region: content
field_liens:
type: link
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 6
region: content
field_menace_maintien: field_menace_maintien:
type: list_default type: list_default
label: above label: above
@ -28,5 +76,16 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content
field_videos:
type: video_embed_field_video
label: above
settings:
autoplay: true
responsive: true
width: 854
height: 480
third_party_settings: { }
weight: 2
region: content
hidden: hidden:
search_api_excerpt: true search_api_excerpt: true

View File

@ -0,0 +1,27 @@
uuid: 2f5a684f-65f5-4836-800b-4f5288336eea
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_audio
- paragraphs.paragraphs_type.action
module:
- file
id: paragraph.action.field_audio
field_name: field_audio
entity_type: paragraph
bundle: action
label: Audio
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: ogg
max_filesize: ''
description_field: true
field_type: file

View File

@ -0,0 +1,27 @@
uuid: 2cdabaf8-b222-420c-9368-f6b499be9723
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_documents
- paragraphs.paragraphs_type.action
module:
- file
id: paragraph.action.field_documents
field_name: field_documents
entity_type: paragraph
bundle: action
label: Documents
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: 'txt pdf doc docx obs xls'
max_filesize: ''
description_field: true
field_type: file

View File

@ -0,0 +1,38 @@
uuid: 682d66f1-8016-40a7-a966-454674db90dd
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_images
- paragraphs.paragraphs_type.action
module:
- image
id: paragraph.action.field_images
field_name: field_images
entity_type: paragraph
bundle: action
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'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: false
title_field: true
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
field_type: image

View File

@ -0,0 +1,23 @@
uuid: bfff8927-93c3-4c4d-9ccd-80ac1068f870
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_liens
- paragraphs.paragraphs_type.action
module:
- link
id: paragraph.action.field_liens
field_name: field_liens
entity_type: paragraph
bundle: action
label: Liens
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 1
link_type: 16
field_type: link

View File

@ -0,0 +1,25 @@
uuid: e38feb3b-324c-425a-8036-2a0d3deb5a94
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_videos
- paragraphs.paragraphs_type.action
module:
- video_embed_field
id: paragraph.action.field_videos
field_name: field_videos
entity_type: paragraph
bundle: action
label: Videos
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_providers:
vimeo: vimeo
youtube: youtube
youtube_playlist: '0'
field_type: video_embed_field

View File

@ -0,0 +1,23 @@
uuid: 3c625e2b-b8e8-4263-b528-ca85d9655eb0
langcode: fr
status: true
dependencies:
module:
- file
- paragraphs
id: paragraph.field_audio
field_name: field_audio
entity_type: paragraph
type: file
settings:
target_type: file
display_field: true
display_default: true
uri_scheme: public
module: file
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,23 @@
uuid: d14de20a-5c4a-4d48-b880-33633f0e6ced
langcode: fr
status: true
dependencies:
module:
- file
- paragraphs
id: paragraph.field_documents
field_name: field_documents
entity_type: paragraph
type: file
settings:
target_type: file
display_field: true
display_default: true
uri_scheme: public
module: file
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,30 @@
uuid: 3290a99f-855c-4dd1-9631-c2527c432471
langcode: fr
status: true
dependencies:
module:
- file
- image
- paragraphs
id: paragraph.field_images
field_name: field_images
entity_type: paragraph
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,19 @@
uuid: 5a8d31e3-32e5-410f-8a6b-82c592acdf46
langcode: fr
status: true
dependencies:
module:
- link
- paragraphs
id: paragraph.field_liens
field_name: field_liens
entity_type: paragraph
type: link
settings: { }
module: link
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,19 @@
uuid: 3d5af0ad-3482-474c-b06c-db3067eadf69
langcode: fr
status: true
dependencies:
module:
- paragraphs
- video_embed_field
id: paragraph.field_videos
field_name: field_videos
entity_type: paragraph
type: video_embed_field
settings: { }
module: video_embed_field
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false