diff --git a/config/sync/core.entity_form_display.paragraph.site_video.default.yml b/config/sync/core.entity_form_display.paragraph.site_video.default.yml new file mode 100644 index 0000000..31eefab --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.site_video.default.yml @@ -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 diff --git a/config/sync/core.entity_view_display.paragraph.site_video.default.yml b/config/sync/core.entity_view_display.paragraph.site_video.default.yml new file mode 100644 index 0000000..0138750 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.site_video.default.yml @@ -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 diff --git a/config/sync/field.field.node.site.field_parties.yml b/config/sync/field.field.node.site.field_parties.yml index 213d158..79535c9 100644 --- a/config/sync/field.field.node.site.field_parties.yml +++ b/config/sync/field.field.node.site.field_parties.yml @@ -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 diff --git a/config/sync/field.field.paragraph.site_video.field_titre_site.yml b/config/sync/field.field.paragraph.site_video.field_titre_site.yml new file mode 100644 index 0000000..150cff2 --- /dev/null +++ b/config/sync/field.field.paragraph.site_video.field_titre_site.yml @@ -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 diff --git a/config/sync/field.field.paragraph.site_video.field_video.yml b/config/sync/field.field.paragraph.site_video.field_video.yml new file mode 100644 index 0000000..a8d93a2 --- /dev/null +++ b/config/sync/field.field.paragraph.site_video.field_video.yml @@ -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 diff --git a/config/sync/field.storage.paragraph.field_video.yml b/config/sync/field.storage.paragraph.field_video.yml new file mode 100644 index 0000000..277a91e --- /dev/null +++ b/config/sync/field.storage.paragraph.field_video.yml @@ -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 diff --git a/config/sync/paragraphs.paragraphs_type.site_video.yml b/config/sync/paragraphs.paragraphs_type.site_video.yml new file mode 100644 index 0000000..57a7a24 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.site_video.yml @@ -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: { }