2013-05-02 07:49:16 +00:00
|
|
|
# Schema for the configuration files of the Options module.
|
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.storage_settings.list_integer:
|
2013-05-02 07:49:16 +00:00
|
|
|
type: mapping
|
|
|
|
label: 'List (integer) settings'
|
|
|
|
mapping:
|
|
|
|
allowed_values:
|
|
|
|
type: sequence
|
|
|
|
label: 'Allowed values list'
|
|
|
|
sequence:
|
2014-07-23 09:33:37 +00:00
|
|
|
- type: mapping
|
|
|
|
label: 'Allowed value with label'
|
|
|
|
mapping:
|
|
|
|
value:
|
|
|
|
type: integer
|
|
|
|
label: 'Value'
|
|
|
|
label:
|
|
|
|
type: label
|
|
|
|
label: 'Label'
|
2013-05-02 07:49:16 +00:00
|
|
|
allowed_values_function:
|
|
|
|
type: string
|
|
|
|
label: 'Allowed values function'
|
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.field_settings.list_integer:
|
|
|
|
label: 'List (integer) settings'
|
2013-12-20 16:27:41 +00:00
|
|
|
type: mapping
|
2013-05-02 07:49:16 +00:00
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.value.list_integer:
|
|
|
|
type: mapping
|
2013-05-02 07:49:16 +00:00
|
|
|
label: 'Default value'
|
2014-11-24 22:17:32 +00:00
|
|
|
mapping:
|
|
|
|
value:
|
|
|
|
type: integer
|
|
|
|
label: 'Value'
|
2013-05-02 07:49:16 +00:00
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.storage_settings.list_float:
|
2013-05-02 07:49:16 +00:00
|
|
|
type: mapping
|
|
|
|
label: 'List (float) settings'
|
|
|
|
mapping:
|
|
|
|
allowed_values:
|
2014-07-23 09:33:37 +00:00
|
|
|
type: sequence
|
2013-05-02 07:49:16 +00:00
|
|
|
label: 'Allowed values list'
|
2014-07-23 09:33:37 +00:00
|
|
|
sequence:
|
|
|
|
- type: mapping
|
|
|
|
label: 'Allowed value with label'
|
|
|
|
mapping:
|
|
|
|
value:
|
|
|
|
type: float
|
|
|
|
label: 'Value'
|
|
|
|
label:
|
|
|
|
type: label
|
|
|
|
label: 'Label'
|
2013-05-02 07:49:16 +00:00
|
|
|
allowed_values_function:
|
|
|
|
type: string
|
|
|
|
label: 'Allowed values function'
|
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.field_settings.list_float:
|
|
|
|
label: 'List (float) settings'
|
2013-12-20 16:27:41 +00:00
|
|
|
type: mapping
|
2013-05-02 07:49:16 +00:00
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.value.list_float:
|
|
|
|
type: mapping
|
2013-05-02 07:49:16 +00:00
|
|
|
label: 'Default value'
|
2014-11-24 22:17:32 +00:00
|
|
|
mapping:
|
|
|
|
value:
|
|
|
|
type: string
|
|
|
|
label: 'Value'
|
2013-05-02 07:49:16 +00:00
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.storage_settings.list_string:
|
2013-05-02 07:49:16 +00:00
|
|
|
type: mapping
|
|
|
|
label: 'List (text) settings'
|
|
|
|
mapping:
|
|
|
|
allowed_values:
|
|
|
|
type: sequence
|
|
|
|
label: 'Allowed values list'
|
|
|
|
sequence:
|
2014-07-23 09:33:37 +00:00
|
|
|
- type: mapping
|
|
|
|
label: 'Allowed value with label'
|
|
|
|
mapping:
|
|
|
|
value:
|
|
|
|
type: string
|
|
|
|
label: 'Value'
|
|
|
|
label:
|
|
|
|
type: label
|
|
|
|
label: 'Label'
|
2013-05-02 07:49:16 +00:00
|
|
|
allowed_values_function:
|
|
|
|
type: string
|
|
|
|
label: 'Allowed values function'
|
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.field_settings.list_string:
|
|
|
|
label: 'List (text) settings'
|
2013-12-20 16:27:41 +00:00
|
|
|
type: mapping
|
2013-05-02 07:49:16 +00:00
|
|
|
|
2014-11-24 22:17:32 +00:00
|
|
|
field.value.list_string:
|
|
|
|
type: mapping
|
2013-05-02 07:49:16 +00:00
|
|
|
label: 'Default value'
|
2014-11-24 22:17:32 +00:00
|
|
|
mapping:
|
|
|
|
value:
|
|
|
|
type: string
|
|
|
|
label: 'Value'
|
2013-05-02 07:49:16 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.list_default:
|
|
|
|
type: mapping
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
label: 'Options list default display settings'
|
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.list_key:
|
|
|
|
type: mapping
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
label: 'Key format settings'
|
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.options_buttons:
|
|
|
|
type: mapping
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
label: 'Check boxes/radio buttons format settings'
|
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.options_select:
|
|
|
|
type: mapping
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
label: 'Select list format settings'
|
2015-01-26 13:11:30 +00:00
|
|
|
|
|
|
|
views.argument.number_list_field:
|
|
|
|
type: views.argument.numeric
|
|
|
|
mapping:
|
|
|
|
summary:
|
|
|
|
type: mapping
|
|
|
|
label: 'Display a summary'
|
|
|
|
mapping:
|
|
|
|
sort_order:
|
|
|
|
type: string
|
|
|
|
label: 'Sort order'
|
|
|
|
number_of_records:
|
|
|
|
type: integer
|
|
|
|
label: 'Sort by'
|
|
|
|
format:
|
|
|
|
type: string
|
|
|
|
label: 'Format'
|
|
|
|
human:
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
views.argument.string_list_field:
|
|
|
|
type: views.argument.string
|
|
|
|
mapping:
|
|
|
|
summary:
|
|
|
|
type: mapping
|
|
|
|
label: 'Display a summary'
|
|
|
|
mapping:
|
|
|
|
sort_order:
|
|
|
|
type: string
|
|
|
|
label: 'Sort order'
|
|
|
|
number_of_records:
|
|
|
|
type: integer
|
|
|
|
label: 'Sort by'
|
|
|
|
format:
|
|
|
|
type: string
|
|
|
|
label: 'Format'
|
|
|
|
human:
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
views.filter.list_field:
|
|
|
|
type: views.filter.many_to_one
|