diff --git a/core/modules/views/config/schema/views.area.schema.yml b/core/modules/views/config/schema/views.area.schema.yml
index 71fcbe0..f3b03de 100644
--- a/core/modules/views/config/schema/views.area.schema.yml
+++ b/core/modules/views/config/schema/views.area.schema.yml
@@ -1,8 +1,12 @@
# Schema for the views area plugins.
+views.area.*:
+ type: views_area
+ label: 'Default area'
+
views.area.text:
type: views_area
- label: ''
+ label: 'Text'
mapping:
content:
type: text
@@ -16,7 +20,7 @@ views.area.text:
views.area.text_custom:
type: views_area
- label: ''
+ label: 'Text custom'
mapping:
content:
type: text
@@ -27,7 +31,7 @@ views.area.text_custom:
views.area.result:
type: views_area
- label: ''
+ label: 'Result'
mapping:
content:
type: text
diff --git a/core/modules/views/config/schema/views.argument.schema.yml b/core/modules/views/config/schema/views.argument.schema.yml
index 99c5aea..46117e1 100644
--- a/core/modules/views/config/schema/views.argument.schema.yml
+++ b/core/modules/views/config/schema/views.argument.schema.yml
@@ -1,57 +1,84 @@
# Schema for the views argument plugins.
+views.argument.*:
+ type: views_argument
+ label: 'Default argument'
+
views.argument.many_to_one:
type: views_argument
+ label: 'Many to one'
mapping:
break_phrase:
type: boolean
- label: ''
+ label: 'Allow multiple values'
add_table:
type: boolean
- label: ''
+ label: 'Allow multiple filter values to work together'
require_value:
type: boolean
- label: ''
+ label: 'Do not display items with no value in summary'
views.argument.null:
type: views_argument
+ label: 'Null'
mapping:
must_not_be:
type: boolean
+ label: 'Fail basic validation if any argument is given'
views.argument.numeric:
type: views_argument
+ label: 'Numeric'
mapping:
break_phrase:
type: boolean
+ label: 'Allow multiple values'
not:
type: boolean
+ label: 'Exclude'
views.argument.string:
type: views_argument
- label: ''
+ label: 'String'
mapping:
glossary:
type: boolean
- label: ''
+ label: 'Glossary mode'
limit:
type: integer
- label: ''
+ label: 'Character limit'
case:
type: string
- label: ''
+ label: 'Case'
path_case:
type: string
- label: ''
+ label: 'Case in path'
transform_dash:
type: boolean
- label: ''
+ label: 'Transform spaces to dashes in URL'
break_phrase:
type: boolean
- label: ''
+ label: 'Allow multiple values'
add_table:
type: boolean
- label: ''
+ label: 'Allow multiple filter values to work together'
require_value:
type: boolean
- label: ''
+ label: 'Do not display items with no value in summary'
+
+views.argument.summary_options.default_summary:
+ type: mapping
+ label: 'Summary options'
+ mapping:
+ base_path:
+ type: string
+ label: 'Base path'
+ count:
+ type: boolean
+ label: 'Display record count with link'
+ override:
+ type: boolean
+ label: 'Override number of items to display'
+ items_per_page:
+ type: integer
+ label: 'Items to display'
diff --git a/core/modules/views/config/schema/views.argument_default.schema.yml b/core/modules/views/config/schema/views.argument_default.schema.yml
index ab2dc79..c73fe14 100644
--- a/core/modules/views/config/schema/views.argument_default.schema.yml
+++ b/core/modules/views/config/schema/views.argument_default.schema.yml
@@ -2,27 +2,27 @@
views.argument_default.fixed:
type: mapping
- label: ''
+ label: 'Fixed'
mapping:
argument:
type: string
- label: ''
+ label: 'Fixed value'
views.argument_default.php:
type: mapping
- label: ''
+ label: 'PHP Code'
mapping:
code:
- type: string
- label: ''
+ type: text
+ label: 'PHP contextual filter code'
views.argument_default.raw:
type: mapping
- label: ''
+ label: 'Raw value from URL'
mapping:
index:
type: string
- label: ''
+ label: 'Path component'
use_alias:
type: boolean
- label: ''
+ label: 'Use path alias'
diff --git a/core/modules/views/config/schema/views.argument_validator.schema.yml b/core/modules/views/config/schema/views.argument_validator.schema.yml
index 865ff7b..63ce7de 100644
--- a/core/modules/views/config/schema/views.argument_validator.schema.yml
+++ b/core/modules/views/config/schema/views.argument_validator.schema.yml
@@ -1,9 +1,17 @@
# Schema for the views argument validators.
+views.argument_validator.none:
+ type: boolean
+ label: 'Basic validation'
+
views.argument_validator.php:
type: mapping
- label: ''
+ label: 'PHP Code'
mapping:
code:
type: text
- label: ''
+ label: 'PHP validate code'
+
+views.argument_validator.numeric:
+ type: boolean
+ label: 'Numeric'
diff --git a/core/modules/views/config/schema/views.data_types.schema.yml b/core/modules/views/config/schema/views.data_types.schema.yml
index 971712b..7ce6726 100644
--- a/core/modules/views/config/schema/views.data_types.schema.yml
+++ b/core/modules/views/config/schema/views.data_types.schema.yml
@@ -37,6 +37,7 @@ views_display:
label: 'Access'
mapping:
type:
+ type: string
label: 'Access type'
options:
type: views.access.[%parent.type]
@@ -76,7 +77,7 @@ views_display:
type:
label: 'Row type'
options:
- include: views.row.[%parent.type]
+ type: views.row.[%parent.type]
query:
type: mapping
label: 'Query'
@@ -159,7 +160,7 @@ views_handler:
type: mapping
mapping:
id:
- type: boolean
+ type: string
label: 'A unique ID per handler type'
table:
type: string
@@ -183,73 +184,95 @@ views_argument:
mapping:
default_action:
type: string
- label: 'Default action'
+ label: 'When the filter value is NOT available'
exception:
type: mapping
- label: 'Argument'
+ label: 'Exception value'
mapping:
value:
type: string
label: 'Value'
- title_enabled:
+ title_enable:
type: boolean
- label: ''
+ label: 'Override title'
title:
type: label
label: 'Title'
title_enable:
type: boolean
- label: ''
+ label: 'Override title'
title:
type: label
label: 'Title'
breadcrumb_enable:
type: boolean
- label: ''
+ label: 'Override breadcrumb'
breadcrumb:
type: label
- label: ''
+ label: 'Breadcrumb'
default_argument_type:
type: string
- label: ''
+ label: 'Type'
default_argument_options:
type: views.argument_default.[%parent.default_argument_type]
label: 'Default argument options'
default_argument_skip_url:
type: boolean
- label: ''
+ label: 'Skip default argument for view URL'
summary_options:
- type: views.style.[%parent.summary.format]
+ type: views.argument.summary_options.[%parent.summary.format]
label: 'Summary options'
summary:
type: mapping
- label: 'Summary'
+ label: 'Display a summary'
mapping:
sort_order:
type: string
- label: 'Sort'
+ label: 'Sort order'
number_of_records:
type: integer
- label: ''
+ label: 'Sort by'
format:
type: string
label: 'Format'
specify_validation:
type: boolean
- label: ''
+ label: 'Specify validation criteria'
validate:
type: mapping
- label: 'Validation'
+ label: 'Validation settings'
mapping:
type:
type: string
- label: 'Type'
+ label: 'Validator'
fail:
type: string
- label: 'Fail'
+ label: 'Action to take if filter value does not validate'
validate_options:
type: views.style.[%parent.validate.type]
label: 'Validate options'
+ glossary:
+ type: boolean
+ label: 'Glossary mode'
+ limit:
+ type: integer
+ label: 'Character limit'
+ case:
+ type: string
+ label: 'Case'
+ path_case:
+ type: string
+ label: 'Case in path'
+ transform_dash:
+ type: boolean
+ label: 'Transform spaces to dashes in URL'
+ break_phrase:
+ type: boolean
+ label: 'Allow multiple values'
+ plugin_id:
+ type: string
+ label: 'Plugin ID'
+
views_exposed_form:
type: mapping
@@ -289,88 +312,84 @@ views_field:
type: mapping
label: 'Rewrite results'
mapping:
- contains:
- type: mapping
- label: ''
- mapping:
- alter_text:
- type: boolean
- label: 'Override the output of this field with custom text'
- text:
- type: text
- label: 'Text'
- make_link:
- type: boolean
- label: 'Output this field as a custom link'
- path:
- type: string
- label: 'Link path'
- absolute:
- type: boolean
- label: 'Use absolute path'
- external:
- type: boolean
- label: 'External server URL'
- replace_spaces:
- type: boolean
- label: 'Replace spaces with dashes'
- path_case:
- type: string
- label: 'Transform the case'
- trim_whitespace:
- type: boolean
- label: 'Remove whitespace'
- alt:
- type: string
- label: 'Title text'
- rel:
- type: string
- label: 'Rel Text'
- link_class:
- type: string
- label: 'Link class'
- prefix:
- type: string
- label: 'Prefix text'
- suffix:
- type: string
- label: 'Suffix text'
- target:
- type: string
- label: 'Target'
- nl2br:
- type: boolean
- label: 'Convert newlines to HTML
tags'
- max_length:
- type: string
- label: 'Maximum number of characters'
- word_boundary:
- type: boolean
- label: 'Trim only on a word boundary'
- ellipsis:
- type: boolean
- label: 'Add "..." at the end of trimmed text'
- more_link:
- type: boolean
- label: 'Add a read-more link if output is trimmed.'
- more_link_text:
- type: string
- label: 'More link label'
- more_link_path:
- type: string
- label: 'More link path'
- strip_tags:
- type: boolean
- label: 'Strip HTML tags'
- trim:
- type: boolean
- label: 'Trim this field to a maximum number of characters'
- preserve_tags:
- type: string
- label: 'Preserve certain tags'
- html:
- type: boolean
- label: 'Field can contain HTML'
+ alter_text:
+ type: boolean
+ label: 'Override the output of this field with custom text'
+ text:
+ type: text
+ label: 'Text'
+ make_link:
+ type: boolean
+ label: 'Output this field as a custom link'
+ path:
+ type: string
+ label: 'Link path'
+ absolute:
+ type: boolean
+ label: 'Use absolute path'
+ external:
+ type: boolean
+ label: 'External server URL'
+ replace_spaces:
+ type: boolean
+ label: 'Replace spaces with dashes'
+ path_case:
+ type: string
+ label: 'Transform the case'
+ trim_whitespace:
+ type: boolean
+ label: 'Remove whitespace'
+ alt:
+ type: string
+ label: 'Title text'
+ rel:
+ type: string
+ label: 'Rel Text'
+ link_class:
+ type: string
+ label: 'Link class'
+ prefix:
+ type: string
+ label: 'Prefix text'
+ suffix:
+ type: string
+ label: 'Suffix text'
+ target:
+ type: string
+ label: 'Target'
+ nl2br:
+ type: boolean
+ label: 'Convert newlines to HTML
tags'
+ max_length:
+ type: string
+ label: 'Maximum number of characters'
+ word_boundary:
+ type: boolean
+ label: 'Trim only on a word boundary'
+ ellipsis:
+ type: boolean
+ label: 'Add "..." at the end of trimmed text'
+ more_link:
+ type: boolean
+ label: 'Add a read-more link if output is trimmed.'
+ more_link_text:
+ type: string
+ label: 'More link label'
+ more_link_path:
+ type: string
+ label: 'More link path'
+ strip_tags:
+ type: boolean
+ label: 'Strip HTML tags'
+ trim:
+ type: boolean
+ label: 'Trim this field to a maximum number of characters'
+ preserve_tags:
+ type: string
+ label: 'Preserve certain tags'
+ html:
+ type: boolean
+ label: 'Field can contain HTML'
element_type:
type: string
label: 'HTML element'
@@ -385,7 +404,7 @@ views_field:
label: 'CSS class'
element_label_colon:
type: boolean
- label: ''
+ label: 'Place a colon after the label'
element_wrapper_type:
type: string
label: 'Wrapper HTML element'
@@ -520,7 +539,7 @@ views_filter:
type: string
label: 'Operator'
value:
- type: string
+ type: views.filter.[plugin_id]
label: 'Value'
group:
type: string
@@ -558,7 +577,7 @@ views_filter:
label: 'Remember the last selection'
multiple:
type: boolean
- label: ''
+ label: 'Allow multiple selections'
remember_roles:
type: sequence
label: 'User roles'
@@ -580,10 +599,10 @@ views_filter:
label: 'Description'
identifier:
type: string
- label: ''
+ label: 'Identifier'
optional:
type: boolean
- label: ''
+ label: 'Optional'
widget:
type: string
label: 'Widget type'
diff --git a/core/modules/views/config/schema/views.display.schema.yml b/core/modules/views/config/schema/views.display.schema.yml
index e651b3a..b55b42f 100644
--- a/core/modules/views/config/schema/views.display.schema.yml
+++ b/core/modules/views/config/schema/views.display.schema.yml
@@ -16,6 +16,7 @@ views.display.page:
label: 'Menu'
mapping:
type:
+ type: string
label: 'Type'
title:
type: text
@@ -27,14 +28,17 @@ views.display.page:
type: integer
label: 'Weight'
name:
+ type: string
label: 'Menu name'
context:
+ type: string
label: 'Context'
tab_options:
type: mapping
label: 'Tab options'
mapping:
type:
+ type: string
label: 'Type'
title:
type: text
@@ -46,6 +50,7 @@ views.display.page:
type: integer
label: 'Weight'
name:
+ type: string
label: 'Menu name'
views.display.block:
diff --git a/core/modules/views/config/schema/views.field.schema.yml b/core/modules/views/config/schema/views.field.schema.yml
index 3865484..8f0684d 100644
--- a/core/modules/views/config/schema/views.field.schema.yml
+++ b/core/modules/views/config/schema/views.field.schema.yml
@@ -1,25 +1,29 @@
# Schema for the views field plugins.
+views.field.*:
+ type: views_field
+ label: 'Default field'
+
views.field.boolean:
type: views_field
label: 'Boolean'
mapping:
type:
type: string
- label: 'Type'
+ label: 'Output format'
type_custom_true:
type: string
- label: ''
+ label: 'Custom output for TRUE'
type_custom_false:
type: string
- label: ''
+ label: 'Custom output for FALSE'
not:
type: string
- label: ''
+ label: 'Reverse'
views.field.broken:
type: views_field
- label: ''
+ label: 'Broken'
views.field.counter:
type: views_field
@@ -27,59 +31,44 @@ views.field.counter:
mapping:
counter_start:
type: integer
- label: ''
+ label: 'Starting value'
views.field.custom:
type: views_field
label: 'Custom'
- mapping:
- alter:
- type: mapping
- label: ''
- mapping:
- contains:
- type: mapping
- label: ''
- mapping:
- alter_text:
- type: boolean
- label: ''
- hide_alter_empty:
- type: boolean
- label: ''
views.field.date:
type: views_field
- label: ''
+ label: 'Date'
mapping:
date_format:
type: string
- label: ''
+ label: 'Date format'
custom_date_format:
type: string
- label: ''
+ label: 'Custom date format'
timezone:
type: string
- label: ''
+ label: 'Timezone'
views.field.file_size:
type: views_field
- label: ''
+ label: 'File size'
mapping:
file_size_display:
type: string
- label: ''
+ label: 'File size display'
views.field.links:
type: views_field
- label: ''
+ label: 'Links'
mapping:
fields:
type: string
- label: ''
+ label: 'Fields'
destination:
type: boolean
- label: ''
+ label: 'Include destination'
views.field.machine_name:
type: views_field
@@ -87,7 +76,7 @@ views.field.machine_name:
mapping:
machine_name:
type: boolean
- label: ''
+ label: 'Output machine name'
views.field.numeric:
type: views_field
@@ -95,42 +84,42 @@ views.field.numeric:
mapping:
set_precision:
type: boolean
- label: ''
+ label: 'Round'
precision:
type: integer
- label: ''
+ label: 'Precision'
decimal:
type: string
- label: ''
+ label: 'Decimal point'
separator:
type: string
- label: ''
+ label: 'Thousands marker'
format_plural:
type: boolean
- label: ''
+ label: 'Format plural'
format_plural_singular:
- type: string
- label: ''
+ type: label
+ label: 'Singular form'
format_plural_plural:
- type: string
- label: ''
+ type: label
+ label: 'Plural form'
prefix:
- type: string
- label: ''
+ type: label
+ label: 'Prefix'
suffix:
- type: string
- label: ''
+ type: label
+ label: 'Suffix'
views.field.prerender_list:
type: views_field
- label: ''
+ label: 'List'
mapping:
type:
type: string
- label: ''
+ label: 'Display type'
separator:
type: string
- label: ''
+ label: 'Separator'
views.field.serialized:
type: views_field
@@ -138,14 +127,14 @@ views.field.serialized:
mapping:
format:
type: string
- label: ''
+ label: 'Display format'
key:
type: string
- label: ''
+ label: 'Which key should be displayed'
-views.field.standart:
+views.field.standard:
type: views_field
- label: 'Standart'
+ label: 'Standard'
views.field.time_interval:
type: views_field
@@ -153,7 +142,7 @@ views.field.time_interval:
mapping:
granularity:
type: integer
- label: ''
+ label: 'Granularity'
views.field.url:
type: views_field
@@ -161,4 +150,4 @@ views.field.url:
mapping:
display_as_link:
type: boolean
- label: ''
+ label: 'Display as link'
diff --git a/core/modules/views/config/schema/views.filter.schema.yml b/core/modules/views/config/schema/views.filter.schema.yml
index adac3d4..757ba1c 100644
--- a/core/modules/views/config/schema/views.filter.schema.yml
+++ b/core/modules/views/config/schema/views.filter.schema.yml
@@ -1,5 +1,9 @@
# Schema for the views filter plugins.
+views.filter.*:
+ type: views_filter
+ label: 'Default filter'
+
views_filter_boolean:
type: views_filter
mapping:
@@ -20,49 +24,31 @@ views.filter.bundle:
views.filter.combine:
type: views.filter.string
label: 'Combine'
- mapping:
- fields:
- type: sequence
- label: ''
- sequence:
- - type: views.field
- label: ''
views.filter.date:
type: views.filter.numeric
label: 'Date'
- mapping:
- fields:
- type: sequence
- label: ''
- sequence:
- - type: views.field
- label: ''
views.filter.in_operator:
type: views_filter
- label: ''
+ label: 'IN operartor'
mapping:
operator:
type: string
- label: ''
+ label: 'Operator'
value:
type: sequence
- label: ''
+ label: 'Values'
sequence:
- type: string
- label: ''
+ label: 'Value'
expose:
type: mapping
- label: ''
+ label: 'Expose'
mapping:
- contains:
- type: mapping
- label: ''
- mapping:
- reduce:
- type: boolean
- label: ''
+ reduce:
+ type: boolean
+ label: 'Reduce'
views.filter.string:
type: views_filter
@@ -70,15 +56,11 @@ views.filter.string:
mapping:
expose:
type: mapping
- label: ''
+ label: 'Exposed'
mapping:
- contains:
- type: mapping
- label: ''
- mapping:
- required:
- type: boolean
- label: ''
+ required:
+ type: boolean
+ label: 'Required'
views.filter.numeric:
type: views_filter
@@ -86,25 +68,20 @@ views.filter.numeric:
mapping:
value:
type: mapping
- label: ''
+ label: 'Operator'
mapping:
- contains:
- type: mapping
- label: ''
- mapping:
- min:
- type: string
- label: ''
- max:
- type: string
- label: ''
- value:
- type: string
- label: ''
-
-views.filter.equality:
- type: views_filter
- label: 'Broken'
+ min:
+ type: string
+ label: 'Min'
+ max:
+ type: string
+ label: 'And max'
+ value:
+ type: string
+ label: 'Value'
+ type:
+ type: string
+ label: 'Value type'
views.filter.equality:
type: views.filter.numeric
@@ -116,13 +93,13 @@ views.filter.many_to_one:
mapping:
operator:
type: string
- label: ''
+ label: 'Operator'
value:
type: sequence
- label: ''
+ label: 'Values'
sequence:
- type: string
- label: ''
+ label: 'Value'
views.filter.group_items.string:
type: sequence
diff --git a/core/modules/views/config/schema/views.pager.schema.yml b/core/modules/views/config/schema/views.pager.schema.yml
index b90f794..4d171df 100644
--- a/core/modules/views/config/schema/views.pager.schema.yml
+++ b/core/modules/views/config/schema/views.pager.schema.yml
@@ -1,5 +1,9 @@
# Schema for the views pager plugins.
+views.pager.*:
+ type: views_pager
+ label: 'Default pager'
+
views.pager.none:
type: views_pager
label: 'Display all items'
diff --git a/core/modules/views/config/schema/views.row.schema.yml b/core/modules/views/config/schema/views.row.schema.yml
new file mode 100644
index 0000000..1f9097a
--- /dev/null
+++ b/core/modules/views/config/schema/views.row.schema.yml
@@ -0,0 +1,21 @@
+# Schema for the views row.
+
+views.row.fields:
+ type: mapping
+ label: 'Field options'
+ mapping:
+ default_field_elements:
+ type: string
+ label: ''
+ inline:
+ type: sequence
+ label: 'Inline'
+ sequence:
+ - type: string
+ label: 'Inline'
+ separator:
+ type: string
+ label: 'Separator'
+ hide_empty:
+ type: string
+ label: 'Hide empty'
diff --git a/core/modules/views/config/schema/views.schema.yml b/core/modules/views/config/schema/views.schema.yml
index 57e3593..6d49733 100644
--- a/core/modules/views/config/schema/views.schema.yml
+++ b/core/modules/views/config/schema/views.schema.yml
@@ -48,4 +48,3 @@ views.view.*:
label: 'Position'
display_options:
type: views.display.[%parent.display_plugin]
-
diff --git a/core/modules/views/config/schema/views.sort.schema.yml b/core/modules/views/config/schema/views.sort.schema.yml
index 3724062..76a3f5a 100644
--- a/core/modules/views/config/schema/views.sort.schema.yml
+++ b/core/modules/views/config/schema/views.sort.schema.yml
@@ -1,5 +1,9 @@
# Schema for the views sort plugins.
+views.sort.*:
+ type: views_sort
+ label: 'Default sort'
+
views.sort.boolean:
type: views_sort
label: 'Boolean sort'
diff --git a/core/modules/views/config/schema/views.style.schema.yml b/core/modules/views/config/schema/views.style.schema.yml
index 11a63fb..54afba4 100644
--- a/core/modules/views/config/schema/views.style.schema.yml
+++ b/core/modules/views/config/schema/views.style.schema.yml
@@ -1,5 +1,9 @@
# Schema for the views style plugins.
+views.style.*:
+ type: views_style
+ label: 'Default style'
+
views.style.default:
type: views_style
label: 'Unformatted list'
@@ -53,7 +57,7 @@ views.style.table:
label: 'Columns info'
sequence:
- type: mapping
- label: "Column info"
+ label: 'Column info'
mapping:
sortable:
type: boolean