Add field media document to the file paragraph and deprecate field file
This commit is contained in:
parent
06a640c20d
commit
e7860127cc
6 changed files with 74 additions and 16 deletions
29
config/field.field.paragraph.file.field_media_document.yml
Normal file
29
config/field.field.paragraph.file.field_media_document.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
uuid: 01a41180-36f8-4cd9-9341-2e620b276a62
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.paragraph.field_media_document
|
||||
- media.type.document
|
||||
- paragraphs.paragraphs_type.file
|
||||
id: paragraph.file.field_media_document
|
||||
field_name: field_media_document
|
||||
entity_type: paragraph
|
||||
bundle: file
|
||||
label: 'Media document'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:media'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
document: document
|
||||
sort:
|
||||
field: _none
|
||||
direction: ASC
|
||||
auto_create: false
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
Loading…
Add table
Add a link
Reference in a new issue