Compare commits

..

No commits in common. "893436dad8ff2fd35866bc6e08bdaf54406f8169" and "06a640c20d3a4e42c93304c9c51e17dac7599473" have entirely different histories.

7 changed files with 16 additions and 85 deletions

View file

@ -4,10 +4,9 @@ status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.file.field_file - field.field.paragraph.file.field_file
- field.field.paragraph.file.field_media_document
- paragraphs.paragraphs_type.file - paragraphs.paragraphs_type.file
module: module:
- media_library_media_modify - file
_core: _core:
default_config_hash: 47c_p3_AKkkCabhYVnOWmPVzSp8BmBg5ERP84VO4EM0 default_config_hash: 47c_p3_AKkkCabhYVnOWmPVzSp8BmBg5ERP84VO4EM0
id: paragraph.file.default id: paragraph.file.default
@ -15,20 +14,14 @@ targetEntityType: paragraph
bundle: file bundle: file
mode: default mode: default
content: content:
field_media_document: field_file:
type: media_library_media_modify_widget
weight: 0 weight: 0
region: content
settings: settings:
media_types: { } progress_indicator: throbber
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: { } third_party_settings: { }
type: file_generic
region: content
hidden: hidden:
created: true created: true
field_file: true
status: true status: true
uid: true uid: true

View file

@ -4,8 +4,9 @@ status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.file.field_file - field.field.paragraph.file.field_file
- field.field.paragraph.file.field_media_document
- paragraphs.paragraphs_type.file - paragraphs.paragraphs_type.file
module:
- file
_core: _core:
default_config_hash: 7APNi5gpaAg2_8CMsnLPZDur8I52PYdXwRHzYO3SLbg default_config_hash: 7APNi5gpaAg2_8CMsnLPZDur8I52PYdXwRHzYO3SLbg
id: paragraph.file.default id: paragraph.file.default
@ -13,15 +14,12 @@ targetEntityType: paragraph
bundle: file bundle: file
mode: default mode: default
content: content:
field_media_document: field_file:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: default
link: false
third_party_settings: { }
weight: 0 weight: 0
label: hidden
settings: { }
third_party_settings: { }
type: file_default
region: content region: content
hidden: hidden:
field_file: true
search_api_excerpt: true search_api_excerpt: true

View file

@ -13,17 +13,17 @@ id: paragraph.file.field_file
field_name: field_file field_name: field_file
entity_type: paragraph entity_type: paragraph
bundle: file bundle: file
label: 'File (deprecated)' label: File
description: '' description: ''
required: false required: false
translatable: false translatable: false
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]' file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt pdf odt doc docx' file_extensions: 'txt pdf odt doc docx'
max_filesize: '' max_filesize: ''
description_field: true description_field: true
handler: 'default:file'
handler_settings: { }
field_type: file field_type: file

View file

@ -1,29 +0,0 @@
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

View file

@ -12,10 +12,10 @@ field_name: field_file
entity_type: paragraph entity_type: paragraph
type: file type: file
settings: settings:
target_type: file
display_field: false display_field: false
display_default: false display_default: false
uri_scheme: public uri_scheme: public
target_type: file
module: file module: file
locked: false locked: false
cardinality: -1 cardinality: -1

View file

@ -1,20 +0,0 @@
uuid: 0f9ff95d-5877-47b0-a77c-01f835ddeedc
langcode: en
status: true
dependencies:
module:
- media
- paragraphs
id: paragraph.field_media_document
field_name: field_media_document
entity_type: paragraph
type: entity_reference
settings:
target_type: media
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -21,14 +21,3 @@ matchers:
limit: 100 limit: 100
include_unpublished: false include_unpublished: false
weight: 0 weight: 0
5dddb224-19c1-45e8-b303-071acde45145:
id: 'entity:media'
uuid: 5dddb224-19c1-45e8-b303-071acde45145
settings:
metadata: ''
bundles:
document: document
group_by_bundle: false
substitution_type: media
limit: 100
weight: 0