Issue #1973522 by vijaycs85, chr.fritsch, piyuesh23: Provide config schema to field types and storage in file module.
parent
aaaf31c9aa
commit
dae4f79783
|
@ -1,4 +1,4 @@
|
||||||
# Schema for the configuration files of the file module.
|
# Schema for the configuration files of the File module.
|
||||||
|
|
||||||
file.settings:
|
file.settings:
|
||||||
type: mapping
|
type: mapping
|
||||||
|
@ -21,3 +21,41 @@ file.settings:
|
||||||
directory:
|
directory:
|
||||||
type: path
|
type: path
|
||||||
label: 'Directory'
|
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'
|
||||||
|
|
Loading…
Reference in New Issue