Add field media document to the file paragraph and deprecate field file

This commit is contained in:
Keegan Rankin 2024-03-21 14:25:49 -07:00
parent 06a640c20d
commit e7860127cc
6 changed files with 74 additions and 16 deletions

View file

@ -4,9 +4,10 @@ status: true
dependencies:
config:
- field.field.paragraph.file.field_file
- field.field.paragraph.file.field_media_document
- paragraphs.paragraphs_type.file
module:
- file
- media_library_media_modify
_core:
default_config_hash: 47c_p3_AKkkCabhYVnOWmPVzSp8BmBg5ERP84VO4EM0
id: paragraph.file.default
@ -14,14 +15,20 @@ targetEntityType: paragraph
bundle: file
mode: default
content:
field_file:
field_media_document:
type: media_library_media_modify_widget
weight: 0
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
settings:
media_types: { }
form_mode: default
check_selected: false
replace_checkbox_by_order_indicator: false
multi_edit_on_create: false
no_edit_on_create: false
third_party_settings: { }
hidden:
created: true
field_file: true
status: true
uid: true