summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGábor Hojtsy2018-07-04 11:19:51 (GMT)
committerGábor Hojtsy2018-07-04 11:19:51 (GMT)
commit5e07c02053aa73d84a6cb67b8e7632a6f37dfe32 (patch)
tree8940d8f406e7ccf52deb4339881b8ba96b1dd224
parentff99cb21334b15faab77c8c6598eefc56de10b33 (diff)
Issue #2939594 by marcoscano, chr.fritsch, webchick, Berdir, markconroy, Eli-T, larowlan, Gábor Hojtsy: Umami missing some Media "plumbing" found in Standard profile
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_form_display.media.audio.default.yml58
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_form_display.media.file.default.yml58
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_form_display.media.image.default.yml60
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_form_display.media.remote_video.default.yml52
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_form_display.media.video.default.yml58
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_view_display.media.audio.default.yml29
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_view_display.media.file.default.yml25
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_view_display.media.image.default.yml27
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_view_display.media.remote_video.default.yml27
-rw-r--r--core/profiles/demo_umami/config/install/core.entity_view_display.media.video.default.yml32
-rw-r--r--core/profiles/demo_umami/config/install/field.field.media.audio.field_media_audio_file.yml26
-rw-r--r--core/profiles/demo_umami/config/install/field.field.media.file.field_media_file.yml29
-rw-r--r--core/profiles/demo_umami/config/install/field.field.media.image.field_media_image.yml40
-rw-r--r--core/profiles/demo_umami/config/install/field.field.media.remote_video.field_media_oembed_video.yml18
-rw-r--r--core/profiles/demo_umami/config/install/field.field.media.video.field_media_video_file.yml26
-rw-r--r--core/profiles/demo_umami/config/install/field.storage.media.field_media_audio_file.yml22
-rw-r--r--core/profiles/demo_umami/config/install/field.storage.media.field_media_file.yml25
-rw-r--r--core/profiles/demo_umami/config/install/field.storage.media.field_media_image.yml32
-rw-r--r--core/profiles/demo_umami/config/install/field.storage.media.field_media_oembed_video.yml20
-rw-r--r--core/profiles/demo_umami/config/install/field.storage.media.field_media_video_file.yml22
-rw-r--r--core/profiles/demo_umami/config/install/media.type.audio.yml12
-rw-r--r--core/profiles/demo_umami/config/install/media.type.file.yml12
-rw-r--r--core/profiles/demo_umami/config/install/media.type.image.yml12
-rw-r--r--core/profiles/demo_umami/config/install/media.type.remote_video.yml16
-rw-r--r--core/profiles/demo_umami/config/install/media.type.video.yml12
-rw-r--r--core/profiles/demo_umami/demo_umami.info.yml1
26 files changed, 751 insertions, 0 deletions
diff --git a/core/profiles/demo_umami/config/install/core.entity_form_display.media.audio.default.yml b/core/profiles/demo_umami/config/install/core.entity_form_display.media.audio.default.yml
new file mode 100644
index 0000000..2897993
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_form_display.media.audio.default.yml
@@ -0,0 +1,58 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.audio.field_media_audio_file
+ - media.type.audio
+ module:
+ - file
+ - path
+id: media.audio.default
+targetEntityType: media
+bundle: audio
+mode: default
+content:
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_media_audio_file:
+ weight: 0
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ 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: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/core/profiles/demo_umami/config/install/core.entity_form_display.media.file.default.yml b/core/profiles/demo_umami/config/install/core.entity_form_display.media.file.default.yml
new file mode 100644
index 0000000..da14503
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_form_display.media.file.default.yml
@@ -0,0 +1,58 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.file.field_media_file
+ - media.type.file
+ module:
+ - file
+ - path
+id: media.file.default
+targetEntityType: media
+bundle: file
+mode: default
+content:
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_media_file:
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ weight: 0
+ region: content
+ name:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 4
+ 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: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/core/profiles/demo_umami/config/install/core.entity_form_display.media.image.default.yml b/core/profiles/demo_umami/config/install/core.entity_form_display.media.image.default.yml
new file mode 100644
index 0000000..fb18dfe
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_form_display.media.image.default.yml
@@ -0,0 +1,60 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.image.field_media_image
+ - image.style.thumbnail
+ - media.type.image
+ module:
+ - image
+ - path
+id: media.image.default
+targetEntityType: media
+bundle: image
+mode: default
+content:
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_media_image:
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ weight: 0
+ region: content
+ name:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 4
+ 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: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/core/profiles/demo_umami/config/install/core.entity_form_display.media.remote_video.default.yml b/core/profiles/demo_umami/config/install/core.entity_form_display.media.remote_video.default.yml
new file mode 100644
index 0000000..4752e75
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_form_display.media.remote_video.default.yml
@@ -0,0 +1,52 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.remote_video.field_media_oembed_video
+ - media.type.remote_video
+ module:
+ - media
+ - path
+id: media.remote_video.default
+targetEntityType: media
+bundle: remote_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
+ 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: ''
+ region: content
+ third_party_settings: { }
+hidden:
+ name: true
diff --git a/core/profiles/demo_umami/config/install/core.entity_form_display.media.video.default.yml b/core/profiles/demo_umami/config/install/core.entity_form_display.media.video.default.yml
new file mode 100644
index 0000000..d0fa504
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_form_display.media.video.default.yml
@@ -0,0 +1,58 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.video.field_media_video_file
+ - media.type.video
+ module:
+ - file
+ - path
+id: media.video.default
+targetEntityType: media
+bundle: video
+mode: default
+content:
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_media_video_file:
+ weight: 0
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ 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: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/core/profiles/demo_umami/config/install/core.entity_view_display.media.audio.default.yml b/core/profiles/demo_umami/config/install/core.entity_view_display.media.audio.default.yml
new file mode 100644
index 0000000..d77376c
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_view_display.media.audio.default.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.audio.field_media_audio_file
+ - media.type.audio
+ module:
+ - file
+id: media.audio.default
+targetEntityType: media
+bundle: audio
+mode: default
+content:
+ field_media_audio_file:
+ type: file_audio
+ weight: 0
+ label: visually_hidden
+ settings:
+ controls: true
+ autoplay: false
+ loop: false
+ multiple_file_display_type: tags
+ third_party_settings: { }
+ region: content
+hidden:
+ created: true
+ name: true
+ thumbnail: true
+ uid: true
diff --git a/core/profiles/demo_umami/config/install/core.entity_view_display.media.file.default.yml b/core/profiles/demo_umami/config/install/core.entity_view_display.media.file.default.yml
new file mode 100644
index 0000000..0081b6d
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_view_display.media.file.default.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.file.field_media_file
+ - media.type.file
+ module:
+ - file
+id: media.file.default
+targetEntityType: media
+bundle: file
+mode: default
+content:
+ field_media_file:
+ label: visually_hidden
+ settings: { }
+ third_party_settings: { }
+ type: file_default
+ weight: 1
+ region: content
+hidden:
+ created: true
+ name: true
+ thumbnail: true
+ uid: true
diff --git a/core/profiles/demo_umami/config/install/core.entity_view_display.media.image.default.yml b/core/profiles/demo_umami/config/install/core.entity_view_display.media.image.default.yml
new file mode 100644
index 0000000..eb285d8
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_view_display.media.image.default.yml
@@ -0,0 +1,27 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.image.field_media_image
+ - media.type.image
+ module:
+ - image
+id: media.image.default
+targetEntityType: media
+bundle: image
+mode: default
+content:
+ field_media_image:
+ label: visually_hidden
+ settings:
+ image_style: ''
+ image_link: file
+ third_party_settings: { }
+ type: image
+ weight: 1
+ region: content
+hidden:
+ created: true
+ name: true
+ thumbnail: true
+ uid: true
diff --git a/core/profiles/demo_umami/config/install/core.entity_view_display.media.remote_video.default.yml b/core/profiles/demo_umami/config/install/core.entity_view_display.media.remote_video.default.yml
new file mode 100644
index 0000000..cc8c138
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_view_display.media.remote_video.default.yml
@@ -0,0 +1,27 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.remote_video.field_media_oembed_video
+ - media.type.remote_video
+ module:
+ - media
+id: media.remote_video.default
+targetEntityType: media
+bundle: remote_video
+mode: default
+content:
+ field_media_oembed_video:
+ type: oembed
+ weight: 0
+ label: hidden
+ settings:
+ max_width: 0
+ max_height: 0
+ third_party_settings: { }
+ region: content
+hidden:
+ created: true
+ name: true
+ thumbnail: true
+ uid: true
diff --git a/core/profiles/demo_umami/config/install/core.entity_view_display.media.video.default.yml b/core/profiles/demo_umami/config/install/core.entity_view_display.media.video.default.yml
new file mode 100644
index 0000000..38606f7
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/core.entity_view_display.media.video.default.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.media.video.field_media_video_file
+ - media.type.video
+ module:
+ - file
+id: media.video.default
+targetEntityType: media
+bundle: video
+mode: default
+content:
+ field_media_video_file:
+ type: file_video
+ weight: 0
+ label: visually_hidden
+ 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
+ name: true
+ thumbnail: true
+ uid: true
diff --git a/core/profiles/demo_umami/config/install/field.field.media.audio.field_media_audio_file.yml b/core/profiles/demo_umami/config/install/field.field.media.audio.field_media_audio_file.yml
new file mode 100644
index 0000000..5e013f3
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.field.media.audio.field_media_audio_file.yml
@@ -0,0 +1,26 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.media.field_media_audio_file
+ - media.type.audio
+ module:
+ - file
+id: media.audio.field_media_audio_file
+field_name: field_media_audio_file
+entity_type: media
+bundle: audio
+label: 'Audio file'
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ file_extensions: 'mp3 wav aac'
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/core/profiles/demo_umami/config/install/field.field.media.file.field_media_file.yml b/core/profiles/demo_umami/config/install/field.field.media.file.field_media_file.yml
new file mode 100644
index 0000000..00c16ec
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.field.media.file.field_media_file.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.media.field_media_file
+ - media.type.file
+ enforced:
+ module:
+ - media
+ module:
+ - file
+id: media.file.field_media_file
+field_name: field_media_file
+entity_type: media
+bundle: file
+label: File
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods fodp fodg key numbers pages'
+ max_filesize: ''
+ handler: 'default:file'
+ handler_settings: { }
+ description_field: false
+field_type: file
diff --git a/core/profiles/demo_umami/config/install/field.field.media.image.field_media_image.yml b/core/profiles/demo_umami/config/install/field.field.media.image.field_media_image.yml
new file mode 100644
index 0000000..f6a62cc
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.field.media.image.field_media_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.media.field_media_image
+ - media.type.image
+ enforced:
+ module:
+ - media
+ module:
+ - image
+id: media.image.field_media_image
+field_name: field_media_image
+entity_type: media
+bundle: image
+label: Image
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ alt_field: true
+ alt_field_required: true
+ title_field: false
+ title_field_required: false
+ max_resolution: ''
+ min_resolution: ''
+ default_image:
+ uuid: null
+ alt: ''
+ title: ''
+ width: null
+ height: null
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'png gif jpg jpeg'
+ max_filesize: ''
+ handler: 'default:file'
+ handler_settings: { }
+field_type: image
diff --git a/core/profiles/demo_umami/config/install/field.field.media.remote_video.field_media_oembed_video.yml b/core/profiles/demo_umami/config/install/field.field.media.remote_video.field_media_oembed_video.yml
new file mode 100644
index 0000000..6ff378f
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.field.media.remote_video.field_media_oembed_video.yml
@@ -0,0 +1,18 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.media.field_media_oembed_video
+ - media.type.remote_video
+id: media.remote_video.field_media_oembed_video
+field_name: field_media_oembed_video
+entity_type: media
+bundle: remote_video
+label: 'Video URL'
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/core/profiles/demo_umami/config/install/field.field.media.video.field_media_video_file.yml b/core/profiles/demo_umami/config/install/field.field.media.video.field_media_video_file.yml
new file mode 100644
index 0000000..19c3b26
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.field.media.video.field_media_video_file.yml
@@ -0,0 +1,26 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.media.field_media_video_file
+ - media.type.video
+ module:
+ - file
+id: media.video.field_media_video_file
+field_name: field_media_video_file
+entity_type: media
+bundle: video
+label: 'Video file'
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ file_extensions: mp4
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/core/profiles/demo_umami/config/install/field.storage.media.field_media_audio_file.yml b/core/profiles/demo_umami/config/install/field.storage.media.field_media_audio_file.yml
new file mode 100644
index 0000000..1626b60
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.storage.media.field_media_audio_file.yml
@@ -0,0 +1,22 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - media
+id: media.field_media_audio_file
+field_name: field_media_audio_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
diff --git a/core/profiles/demo_umami/config/install/field.storage.media.field_media_file.yml b/core/profiles/demo_umami/config/install/field.storage.media.field_media_file.yml
new file mode 100644
index 0000000..1fa8af9
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.storage.media.field_media_file.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - media
+ module:
+ - file
+ - media
+id: media.field_media_file
+field_name: field_media_file
+entity_type: media
+type: file
+settings:
+ uri_scheme: public
+ target_type: file
+ display_field: false
+ display_default: false
+module: file
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/core/profiles/demo_umami/config/install/field.storage.media.field_media_image.yml b/core/profiles/demo_umami/config/install/field.storage.media.field_media_image.yml
new file mode 100644
index 0000000..231200d
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.storage.media.field_media_image.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - media
+ module:
+ - file
+ - image
+ - media
+id: media.field_media_image
+field_name: field_media_image
+entity_type: media
+type: image
+settings:
+ default_image:
+ uuid: null
+ alt: ''
+ title: ''
+ width: null
+ height: null
+ target_type: file
+ display_field: false
+ display_default: false
+ uri_scheme: public
+module: image
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/core/profiles/demo_umami/config/install/field.storage.media.field_media_oembed_video.yml b/core/profiles/demo_umami/config/install/field.storage.media.field_media_oembed_video.yml
new file mode 100644
index 0000000..7485f1a
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.storage.media.field_media_oembed_video.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - media
+id: media.field_media_oembed_video
+field_name: field_media_oembed_video
+entity_type: media
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/core/profiles/demo_umami/config/install/field.storage.media.field_media_video_file.yml b/core/profiles/demo_umami/config/install/field.storage.media.field_media_video_file.yml
new file mode 100644
index 0000000..0ac96a1
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/field.storage.media.field_media_video_file.yml
@@ -0,0 +1,22 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - media
+id: media.field_media_video_file
+field_name: field_media_video_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
diff --git a/core/profiles/demo_umami/config/install/media.type.audio.yml b/core/profiles/demo_umami/config/install/media.type.audio.yml
new file mode 100644
index 0000000..2a9c0bd
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/media.type.audio.yml
@@ -0,0 +1,12 @@
+langcode: en
+status: true
+dependencies: { }
+id: audio
+label: Audio
+description: 'A locally hosted audio file.'
+source: audio_file
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_audio_file
+field_map: { }
diff --git a/core/profiles/demo_umami/config/install/media.type.file.yml b/core/profiles/demo_umami/config/install/media.type.file.yml
new file mode 100644
index 0000000..a716fc1
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/media.type.file.yml
@@ -0,0 +1,12 @@
+langcode: en
+status: true
+dependencies: { }
+id: file
+label: File
+description: "Use local files for reusable media."
+source: file
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_file
+field_map: { }
diff --git a/core/profiles/demo_umami/config/install/media.type.image.yml b/core/profiles/demo_umami/config/install/media.type.image.yml
new file mode 100644
index 0000000..9527f62
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/media.type.image.yml
@@ -0,0 +1,12 @@
+langcode: en
+status: true
+dependencies: { }
+id: image
+label: Image
+description: "Use local images for reusable media."
+source: image
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_image
+field_map: { }
diff --git a/core/profiles/demo_umami/config/install/media.type.remote_video.yml b/core/profiles/demo_umami/config/install/media.type.remote_video.yml
new file mode 100644
index 0000000..518180f
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/media.type.remote_video.yml
@@ -0,0 +1,16 @@
+langcode: en
+status: true
+dependencies: { }
+id: remote_video
+label: 'Remote video'
+description: 'A remotely hosted video from YouTube or Vimeo.'
+source: 'oembed:video'
+queue_thumbnail_downloads: false
+new_revision: false
+source_configuration:
+ thumbnails_directory: 'public://oembed_thumbnails'
+ providers:
+ - YouTube
+ - Vimeo
+ source_field: field_media_oembed_video
+field_map: { }
diff --git a/core/profiles/demo_umami/config/install/media.type.video.yml b/core/profiles/demo_umami/config/install/media.type.video.yml
new file mode 100644
index 0000000..c17d3db
--- /dev/null
+++ b/core/profiles/demo_umami/config/install/media.type.video.yml
@@ -0,0 +1,12 @@
+langcode: en
+status: true
+dependencies: { }
+id: video
+label: Video
+description: 'A locally hosted video file.'
+source: video_file
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_video_file
+field_map: { }
diff --git a/core/profiles/demo_umami/demo_umami.info.yml b/core/profiles/demo_umami/demo_umami.info.yml
index 07bc707..48de341 100644
--- a/core/profiles/demo_umami/demo_umami.info.yml
+++ b/core/profiles/demo_umami/demo_umami.info.yml
@@ -21,6 +21,7 @@ install:
- editor
- help
- image
+ - media
- menu_ui
- options
- path