Skip to content
Snippets Groups Projects
Commit dae4f797 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1973522 by vijaycs85, chr.fritsch, piyuesh23: Provide config schema to...

Issue #1973522 by vijaycs85, chr.fritsch, piyuesh23: Provide config schema to field types and storage in file module.
parent aaaf31c9
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
# Schema for the configuration files of the file module.
# Schema for the configuration files of the File module.
file.settings:
type: mapping
......@@ -21,3 +21,41 @@ file.settings:
directory:
type: path
label: 'Directory'
field.file.settings:
type: mapping
label: 'File settings'
mapping:
display_field:
type: boolean
label: 'Enable Display field'
display_default:
type: boolean
label: 'Files displayed by default'
uri_scheme:
type: string
label: 'Upload destination'
field.file.value:
type: sequence
label: 'Default value'
sequence:
- type: string
label: 'Value'
field.file.instance_settings:
type: mapping
label: 'File settings'
mapping:
file_directory:
type: string
label: 'File directory'
file_extensions:
type: string
label: 'Allowed file extensions'
max_filesize:
type: string
label: 'Maximum upload size'
description_field:
type: boolean
label: 'Enable Description field'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment