site field video

This commit is contained in:
Bachir Soussi Chiadmi 2024-10-30 15:22:06 +01:00
parent 2b69062c26
commit b9deae8f3c
7 changed files with 146 additions and 0 deletions

View File

@ -0,0 +1,32 @@
uuid: d1125aec-fef8-4cd5-84a1-9564f99a7fec
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.site_video.field_titre_site
- field.field.paragraph.site_video.field_video
- paragraphs.paragraphs_type.site_video
module:
- video_embed_field
id: paragraph.site_video.default
targetEntityType: paragraph
bundle: site_video
mode: default
content:
field_titre_site:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_video:
type: video_embed_field_textfield
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true

View File

@ -0,0 +1,36 @@
uuid: f518db27-1075-4898-bc9e-54e2cb98a312
langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.site_video.field_titre_site
- field.field.paragraph.site_video.field_video
- paragraphs.paragraphs_type.site_video
module:
- video_embed_field
id: paragraph.site_video.default
targetEntityType: paragraph
bundle: site_video
mode: default
content:
field_titre_site:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
field_video:
type: video_embed_field_video
label: visually_hidden
settings:
autoplay: false
responsive: true
width: 854
height: 480
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true

View File

@ -7,6 +7,7 @@ dependencies:
- node.type.site
- paragraphs.paragraphs_type.site_diapo
- paragraphs.paragraphs_type.site_parts
- paragraphs.paragraphs_type.site_video
module:
- entity_reference_revisions
id: node.site.field_parties
@ -24,6 +25,7 @@ settings:
handler_settings:
target_bundles:
site_diapo: site_diapo
site_video: site_video
site_parts: site_parts
negate: 0
target_bundles_drag_drop:
@ -36,6 +38,9 @@ settings:
site_parts:
weight: 7
enabled: true
site_video:
weight: 6
enabled: true
static_parts:
weight: 8
enabled: false

View File

@ -0,0 +1,19 @@
uuid: 32266fd4-65b2-4911-b1ea-92400361aa20
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_titre_site
- paragraphs.paragraphs_type.site_video
id: paragraph.site_video.field_titre_site
field_name: field_titre_site
entity_type: paragraph
bundle: site_video
label: Titre
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -0,0 +1,25 @@
uuid: cdb2a071-c22e-4110-9fbf-49d230ac5a23
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_video
- paragraphs.paragraphs_type.site_video
module:
- video_embed_field
id: paragraph.site_video.field_video
field_name: field_video
entity_type: paragraph
bundle: site_video
label: Video
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,19 @@
uuid: aff05522-03d6-4024-94a9-185b4f740fb1
langcode: fr
status: true
dependencies:
module:
- paragraphs
- video_embed_field
id: paragraph.field_video
field_name: field_video
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

View File

@ -0,0 +1,10 @@
uuid: eb20a662-7e1e-4d2b-855f-36708e2315e1
langcode: fr
status: true
dependencies: { }
id: site_video
label: 'Site video'
icon_uuid: null
icon_default: null
description: ''
behavior_plugins: { }