Commit 1a80341d authored by webchick's avatar webchick

Issue #2107693 by vijaycs85, rych: Provide configuration schema for...

Issue #2107693 by vijaycs85, rych: Provide configuration schema for views.settings + update views.settings to reflect current configuration setup.
parent d12aa8ce
# Schema for the configuration files of the Views module.
views.settings:
type: mapping
label: 'Views settings'
mapping:
display_extenders:
type: sequence
label: 'Display extenders'
sequence:
- type: string
label: 'Display extender'
no_javascript:
type: boolean
label: 'Disable JavaScript with Views'
skip_cache:
type: boolean
label: 'Disable views data caching'
sql_signature:
type: boolean
label: 'Add Views signature to all SQL queries'
ui:
type: mapping
label: 'UI settings'
mapping:
show:
type: mapping
label: 'Live preview settings'
mapping:
additional_queries:
type: boolean
label: 'Show other queries run during render during live preview'
advanced_column:
type: boolean
label: 'Always show advanced display settings'
master_display:
type: boolean
label: 'Always show the master (default) display'
performance_statistics:
type: boolean
label: 'Show performance statistics'
preview_information:
type: boolean
label: 'Show information and statistics about the view during live preview'
sql_query:
type: mapping
label: 'Query settings'
mapping:
enabled:
type: boolean
label: 'Show the SQL query'
where:
type: string
label: 'Show SQL query'
display_embed:
type: boolean
label: 'Allow embedded displays'
always_live_preview:
type: boolean
label: 'Automatically update preview on changes'
exposed_filter_any_label:
type: string
label: 'Label for "Any" value on non-required single-select exposed filters'
field_rewrite_elements:
type: sequence
label: 'Field rewrite elements'
sequence:
- type: string
label: 'Element'
views.view.*:
type: mapping
label: 'View'
......
display_extenders: { }
no_javascript: '0'
skip_cache: '0'
sql_signature: '0'
no_javascript: false
skip_cache: false
sql_signature: false
ui:
show:
additional_queries: '0'
advanced_column: '0'
master_display: '0'
performance_statistics: '0'
preview_information: '1'
additional_queries: false
advanced_column: false
master_display: false
performance_statistics: false
preview_information: true
sql_query:
enabled: '0'
enabled: false
where: above
display_embed: '0'
custom_theme: _default
always_live_preview: '1'
always_live_preview_button: '1'
display_embed: false
always_live_preview: true
exposed_filter_any_label: old_any
field_rewrite_elements:
div: DIV
span: SPAN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment