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

View file

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

View file

@ -13,17 +13,17 @@ id: paragraph.file.field_file
field_name: field_file
entity_type: paragraph
bundle: file
label: 'File (deprecated)'
label: File
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt pdf odt doc docx'
max_filesize: ''
description_field: true
handler: 'default:file'
handler_settings: { }
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
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
target_type: file
module: file
locked: false
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
include_unpublished: false
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