Commit 7138d53c authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3412: adding youtube

parent acc521f4
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_youtube.field_media_oembed_video
- media.type.uw_mt_youtube
module:
- media
id: media.uw_mt_youtube.default
targetEntityType: media
bundle: uw_mt_youtube
mode: default
content:
field_media_oembed_video:
type: oembed_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
hidden:
created: true
langcode: true
name: true
path: true
status: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_youtube.field_media_oembed_video
- media.type.uw_mt_youtube
module:
- fences
- media
id: media.uw_mt_youtube.default
targetEntityType: media
bundle: uw_mt_youtube
mode: default
content:
field_media_oembed_video:
type: oembed
label: hidden
weight: 0
settings:
max_width: 0
max_height: 0
third_party_settings:
fences:
fences_field_tag: none
fences_field_classes: ''
fences_field_item_tag: none
fences_field_item_classes: ''
fences_label_tag: none
fences_label_classes: ''
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true
langcode: en
status: true
dependencies:
config:
- views.view.uw_view_ebr_youtube
module:
- entity_browser_entity_form
- views
name: uw_ebr_youtube
label: Youtube
display: modal
display_configuration:
width: '650'
height: '500'
link_text: 'Select entities'
auto_open: false
selection_display: no_display
selection_display_configuration: { }
widget_selector: tabs
widget_selector_configuration: { }
widgets:
29731309-d00b-4078-99ba-5f6f410f1d67:
settings:
entity_type: media
bundle: uw_mt_youtube
form_mode: default
submit_text: 'Save YouTube'
uuid: 29731309-d00b-4078-99ba-5f6f410f1d67
weight: 1
label: Create
id: entity_form
bef84e00-155d-4c6d-96e5-b487e225c690:
settings:
view: uw_view_ebr_youtube
view_display: entity_browser_1
submit_text: 'Select YouTube'
auto_select: false
uuid: bef84e00-155d-4c6d-96e5-b487e225c690
weight: 2
label: View
id: view
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_oembed_video
- media.type.uw_mt_youtube
id: media.uw_mt_youtube.field_media_oembed_video
field_name: field_media_oembed_video
entity_type: media
bundle: uw_mt_youtube
label: 'YouTube URL'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
langcode: en
status: true
dependencies:
module:
- entity_browser_block_layout
third_party_settings:
entity_browser_block_layout:
entity_browser_block_layout_view_modes:
default: default
full: 0
token: 0
id: uw_mt_youtube
label: Youtube
description: Youtube
source: 'oembed:video'
queue_thumbnail_downloads: false
new_revision: false
source_configuration:
thumbnails_directory: 'public://oembed_thumbnails'
providers:
- YouTube
source_field: field_media_oembed_video
field_map: { }
langcode: en
status: true
dependencies:
config:
- image.style.thumbnail
- media.type.uw_mt_youtube
module:
- entity_browser
- image
- media
- user
id: uw_view_ebr_youtube
label: 'Entity Browser: youtube'
module: views
description: ''
tag: ''
base_table: media_field_data
base_field: mid
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: perm
options:
perm: 'view media'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 10
offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous: ‹‹
next: ››
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
type: fields
options:
inline: { }
separator: ''
hide_empty: false
default_field_elements: true
fields:
entity_browser_select:
id: entity_browser_select
table: media
field: entity_browser_select
relationship: none
group_type: group
admin_label: ''
label: 'Entity browser bulk select form'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
entity_type: media
plugin_id: entity_browser_select
bundle:
id: bundle
table: media_field_data
field: bundle
relationship: none
group_type: group
admin_label: ''
label: 'Media type'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: media
entity_field: bundle
plugin_id: field
name:
id: name
table: media_field_data
field: name
relationship: none
group_type: group
admin_label: ''
label: Name
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: false
ellipsis: false
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: media
entity_field: media
plugin_id: field
thumbnail__target_id:
id: thumbnail__target_id
table: media_field_data
field: thumbnail__target_id
relationship: none
group_type: group
admin_label: ''
label: Thumbnail
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: image
settings:
image_style: thumbnail
image_link: ''
group_column: ''
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: media
entity_field: thumbnail
plugin_id: field
filters:
status:
value: '1'
table: media_field_data
field: status
plugin_id: boolean
entity_type: media
entity_field: status
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
bundle:
id: bundle
table: media_field_data
field: bundle
relationship: none
group_type: group
admin_label: ''
operator: in
value:
uw_mt_youtube: uw_mt_youtube
group: 1
exposed: false
expose:
operator_id: bundle_op
label: 'Media type'
description: ''
use_operator: false
operator: bundle_op
operator_limit_selection: false
operator_list: { }
identifier: bundle
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
uw_role_alumni: '0'
uw_role_employer: '0'
uw_role_faculty: '0'
uw_role_staff: '0'
uw_role_student: '0'
uw_role_site_manager: '0'
uw_role_wcms_support: '0'
uw_role_content_editor: '0'
uw_role_content_author: '0'
uw_role_form_editor: '0'
uw_role_form_results_access: '0'
uw_role_special_alerter: '0'
uw_role_emergency_alerter: '0'
uw_role_award_content_author: '0'
uw_role_notices_editor: '0'
uw_role_events_editor: '0'
uw_role_wcms_web_services: '0'
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: media
entity_field: bundle
plugin_id: bundle
sorts: { }
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
title: Youtube
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.permissions
tags: { }
entity_browser_1:
display_plugin: entity_browser
id: entity_browser_1
display_title: 'Entity browser'
position: 1
display_options:
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.permissions
tags: { }
Supports