Commit e7fd3008 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-3678 Add 'file' media type

parent 7a4ef2a8
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_file.field_media_file
- media.type.uw_mt_file
module:
- file
id: media.uw_mt_file.default
targetEntityType: media
bundle: uw_mt_file
mode: default
content:
field_media_file:
weight: 1
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
langcode: true
path: true
status: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.uw_mt_file.field_media_file
- media.type.uw_mt_file
id: media.uw_mt_file.media_library
targetEntityType: media
bundle: uw_mt_file
mode: media_library
content:
name:
type: string_textfield
settings:
size: 60
placeholder: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_file: true
langcode: true
path: true
status: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_file.field_media_file
- media.type.uw_mt_file
module:
- file
id: media.uw_mt_file.default
targetEntityType: media
bundle: uw_mt_file
mode: default
content:
field_media_file:
label: hidden
weight: 0
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
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_file.field_media_file
- image.style.medium
- media.type.uw_mt_file
module:
- image
id: media.uw_mt_file.media_library
targetEntityType: media
bundle: uw_mt_file
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.storage.media.field_media_file
- media.type.uw_mt_file
module:
- file
id: media.uw_mt_file.field_media_file
field_name: field_media_file
entity_type: media
bundle: uw_mt_file
label: File
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'txt doc docx pdf'
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
description_field: false
handler: 'default:file'
handler_settings: { }
field_type: file
langcode: en
status: true
dependencies:
module:
- file
- media
id: media.field_media_file
field_name: field_media_file
entity_type: media
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
config:
- media.type.uw_mt_file
id: media.uw_mt_file
target_entity_type_id: media
target_bundle: uw_mt_file
default_langcode: site_default
language_alterable: false
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
media_library: 0
token: 0
id: uw_mt_file
label: File
description: File
source: file
queue_thumbnail_downloads: false
new_revision: false
source_configuration:
source_field: field_media_file
field_map: { }
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