added video to statics
This commit is contained in:
@@ -12,6 +12,7 @@ dependencies:
|
||||
- field.field.node.static.field_personnes
|
||||
- field.field.node.static.field_ress
|
||||
- field.field.node.static.field_textes
|
||||
- field.field.node.static.field_videos
|
||||
- image.style.thumbnail
|
||||
- node.type.static
|
||||
module:
|
||||
@@ -21,6 +22,7 @@ dependencies:
|
||||
- link
|
||||
- paragraphs
|
||||
- text
|
||||
- video_embed_field
|
||||
third_party_settings:
|
||||
field_group:
|
||||
group_tabs:
|
||||
@@ -62,6 +64,7 @@ third_party_settings:
|
||||
children:
|
||||
- field_fichiers
|
||||
- field_images
|
||||
- field_videos
|
||||
parent_name: group_tabs
|
||||
weight: 28
|
||||
format_type: tab
|
||||
@@ -247,6 +250,12 @@ content:
|
||||
duplicate: duplicate
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
field_videos:
|
||||
weight: 34
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: video_embed_field_textfield
|
||||
region: content
|
||||
promote:
|
||||
type: boolean_checkbox
|
||||
settings:
|
||||
|
||||
@@ -12,12 +12,14 @@ dependencies:
|
||||
- field.field.node.static.field_personnes
|
||||
- field.field.node.static.field_ress
|
||||
- field.field.node.static.field_textes
|
||||
- field.field.node.static.field_videos
|
||||
- node.type.static
|
||||
module:
|
||||
- entity_reference_revisions
|
||||
- file
|
||||
- link
|
||||
- manage_display
|
||||
- video_embed_field
|
||||
_core:
|
||||
default_config_hash: oGSMA6gtfWJ1AlOJQfaQ3Qpi7ZarWaHqInUX9DaJLzo
|
||||
id: node.static.default
|
||||
@@ -46,7 +48,7 @@ content:
|
||||
type: link
|
||||
region: content
|
||||
field_page_statique_liees:
|
||||
weight: 4
|
||||
weight: 7
|
||||
label: above
|
||||
settings:
|
||||
link: true
|
||||
@@ -55,7 +57,7 @@ content:
|
||||
region: content
|
||||
field_partenaires:
|
||||
type: entity_reference_revisions_entity_view
|
||||
weight: 7
|
||||
weight: 5
|
||||
label: above
|
||||
settings:
|
||||
view_mode: default
|
||||
@@ -64,7 +66,7 @@ content:
|
||||
region: content
|
||||
field_personnes:
|
||||
type: entity_reference_revisions_entity_view
|
||||
weight: 8
|
||||
weight: 6
|
||||
label: above
|
||||
settings:
|
||||
view_mode: default
|
||||
@@ -72,7 +74,7 @@ content:
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
field_ress:
|
||||
weight: 5
|
||||
weight: 8
|
||||
label: above
|
||||
settings:
|
||||
link: true
|
||||
@@ -81,18 +83,24 @@ content:
|
||||
region: content
|
||||
field_textes:
|
||||
type: entity_reference_revisions_entity_view
|
||||
weight: 6
|
||||
weight: 4
|
||||
label: above
|
||||
settings:
|
||||
view_mode: default
|
||||
link: ''
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
links:
|
||||
field_videos:
|
||||
weight: 1
|
||||
region: content
|
||||
settings: { }
|
||||
label: above
|
||||
settings:
|
||||
responsive: true
|
||||
width: 854
|
||||
height: 480
|
||||
autoplay: true
|
||||
third_party_settings: { }
|
||||
type: video_embed_field_video
|
||||
region: content
|
||||
title:
|
||||
label: hidden
|
||||
type: title
|
||||
@@ -107,5 +115,6 @@ hidden:
|
||||
field_accroche: true
|
||||
field_images: true
|
||||
langcode: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
||||
uid: true
|
||||
|
||||
@@ -13,11 +13,13 @@ dependencies:
|
||||
- field.field.node.static.field_personnes
|
||||
- field.field.node.static.field_ress
|
||||
- field.field.node.static.field_textes
|
||||
- field.field.node.static.field_videos
|
||||
- node.type.static
|
||||
module:
|
||||
- image_delta_formatter
|
||||
- manage_display
|
||||
- text
|
||||
- video_embed_field
|
||||
_core:
|
||||
default_config_hash: oGSMA6gtfWJ1AlOJQfaQ3Qpi7ZarWaHqInUX9DaJLzo
|
||||
id: node.static.teaser
|
||||
@@ -43,9 +45,20 @@ content:
|
||||
deltas: 0
|
||||
deltas_reversed: false
|
||||
third_party_settings: { }
|
||||
links:
|
||||
field_videos:
|
||||
type: video_embed_field_video
|
||||
weight: 3
|
||||
region: content
|
||||
label: visually_hidden
|
||||
settings:
|
||||
responsive: true
|
||||
width: 854
|
||||
height: 480
|
||||
autoplay: true
|
||||
third_party_settings: { }
|
||||
links:
|
||||
weight: 4
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
title:
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
uuid: ac72da03-c4da-41b4-946e-0e3eb3f3f441
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_videos
|
||||
- node.type.static
|
||||
module:
|
||||
- video_embed_field
|
||||
id: node.static.field_videos
|
||||
field_name: field_videos
|
||||
entity_type: node
|
||||
bundle: static
|
||||
label: Videos
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
allowed_providers:
|
||||
vimeo: vimeo
|
||||
youtube: youtube
|
||||
youtube_playlist: '0'
|
||||
field_type: video_embed_field
|
||||
Reference in New Issue
Block a user