Commit 747a7d6d authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-4472: add media libraries for banner

parent 28fd0fda
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_local_video.field_media_file
- media.type.uw_mt_local_video
module:
- file
- path
id: media.uw_mt_local_video.default
targetEntityType: media
bundle: uw_mt_local_video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_file:
weight: 0
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
hidden: { }
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.uw_mt_local_video.field_media_file
- media.type.uw_mt_local_video
id: media.uw_mt_local_video.media_library
targetEntityType: media
bundle: uw_mt_local_video
mode: media_library
content: { }
hidden:
created: true
field_media_file: true
langcode: true
name: true
path: true
status: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
module:
- media
- path
id: media.uw_mt_vimeo_banner_video.default
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_oembed_video:
type: oembed_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
hidden:
name: true
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
id: media.uw_mt_vimeo_banner_video.media_library
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: media_library
content:
name:
type: string_textfield
settings:
size: 60
placeholder: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_oembed_video: true
langcode: true
path: true
status: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_local_video.field_media_file
- media.type.uw_mt_local_video
module:
- file
id: media.uw_mt_local_video.default
targetEntityType: media
bundle: uw_mt_local_video
mode: default
content:
field_media_file:
type: file_video
label: visually_hidden
weight: 0
settings:
muted: false
width: 640
height: 480
controls: true
autoplay: false
loop: false
multiple_file_display_type: tags
third_party_settings: { }
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.uw_mt_local_video.field_media_file
- image.style.medium
- media.type.uw_mt_local_video
module:
- image
id: media.uw_mt_local_video.media_library
targetEntityType: media
bundle: uw_mt_local_video
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: medium
image_link: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_file: true
langcode: true
name: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
module:
- media
id: media.uw_mt_vimeo_banner_video.default
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: default
content:
field_media_oembed_video:
type: oembed
label: visually_hidden
weight: 0
settings:
max_width: 0
max_height: 0
third_party_settings: { }
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- image.style.medium
- media.type.uw_mt_vimeo_banner_video
module:
- image
id: media.uw_mt_vimeo_banner_video.media_library
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: medium
image_link: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_oembed_video: true
langcode: true
name: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_file
- media.type.uw_mt_local_video
module:
- file
- require_on_publish
third_party_settings:
require_on_publish:
require_on_publish: false
id: media.uw_mt_local_video.field_media_file
field_name: field_media_file
entity_type: media
bundle: uw_mt_local_video
label: 'Video file'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: mp4
max_filesize: '2.5 MB'
description_field: true
handler: 'default:file'
handler_settings: { }
field_type: file
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
id: media.uw_mt_vimeo_banner_video.field_media_oembed_video
field_name: field_media_oembed_video
entity_type: media
bundle: uw_mt_vimeo_banner_video
label: 'Remote video URL'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
name: 'UW media'
description: 'UW media settings and configuration'
type: module
core_version_requirement: ^8 || ^9
core_version_requirement: '^8 || ^9'
dependencies:
- drupal:crop
- drupal:entity_browser
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment