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

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
No related branches found
Tags 8.5.0-alpha1
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 Views module. # 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.*: views.view.*:
type: mapping type: mapping
label: 'View' label: 'View'
......
display_extenders: { } display_extenders: { }
no_javascript: '0' no_javascript: false
skip_cache: '0' skip_cache: false
sql_signature: '0' sql_signature: false
ui: ui:
show: show:
additional_queries: '0' additional_queries: false
advanced_column: '0' advanced_column: false
master_display: '0' master_display: false
performance_statistics: '0' performance_statistics: false
preview_information: '1' preview_information: true
sql_query: sql_query:
enabled: '0' enabled: false
where: above where: above
display_embed: '0' display_embed: false
custom_theme: _default always_live_preview: true
always_live_preview: '1' exposed_filter_any_label: old_any
always_live_preview_button: '1'
field_rewrite_elements: field_rewrite_elements:
div: DIV div: DIV
span: SPAN span: SPAN
......
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