summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-07-16 23:19:53 (GMT)
committerAlex Pott2014-07-16 23:19:53 (GMT)
commit518e3c9f7fd8036c17f355cf13b8f71fdb0569d5 (patch)
tree74aa9ceb4c77a15d47d3ce43127c34208595566c
parentb560f348bd5bfe11ab7c4784b529f0cca5277639 (diff)
Issue #2298319 by Berdir | ivanjaros: Fixed views.display.block.allow should be a sequence not a boolean.
-rw-r--r--core/modules/block/config/schema/block.views.schema.yml9
-rw-r--r--core/modules/comment/config/install/views.view.comments_recent.yml28
-rw-r--r--core/modules/views/config/schema/views.data_types.schema.yml6
3 files changed, 28 insertions, 15 deletions
diff --git a/core/modules/block/config/schema/block.views.schema.yml b/core/modules/block/config/schema/block.views.schema.yml
index 1ffe388..53affeb 100644
--- a/core/modules/block/config/schema/block.views.schema.yml
+++ b/core/modules/block/config/schema/block.views.schema.yml
@@ -11,12 +11,13 @@ views.display.block:
block_category:
type: text
label: 'Block category'
- block_caching:
- type: integer
- label: 'Block caching'
block_hide_empty:
type: boolean
label: 'Hide block if no result/empty text'
allow:
- type: boolean
+ type: mapping
label: 'Allow'
+ mapping:
+ items_per_page:
+ type: boolean
+ label: 'Items per page'
diff --git a/core/modules/comment/config/install/views.view.comments_recent.yml b/core/modules/comment/config/install/views.view.comments_recent.yml
index 1e20f75..f91f01a 100644
--- a/core/modules/comment/config/install/views.view.comments_recent.yml
+++ b/core/modules/comment/config/install/views.view.comments_recent.yml
@@ -1,8 +1,16 @@
-base_field: cid
+langcode: en
+status: true
+dependencies:
+ module:
+ - comment
+id: comments_recent
+label: 'Recent comments'
+module: views
+description: 'Recent comments.'
+tag: default
base_table: comment
+base_field: cid
core: 8.x
-description: 'Recent comments.'
-status: true
display:
default:
display_plugin: default
@@ -220,6 +228,8 @@ display:
content: 'No comments available.'
tokenize: false
plugin_id: text_custom
+ field_langcode: '***CURRENT_LANGUAGE***'
+ field_langcode_add_to_query: null
block_1:
display_plugin: block
id: block_1
@@ -228,11 +238,7 @@ display:
display_options:
block_description: 'Recent comments'
block_category: 'Lists (Views)'
-label: 'Recent comments'
-module: views
-id: comments_recent
-tag: default
-langcode: en
-dependencies:
- module:
- - comment
+ field_langcode: '***CURRENT_LANGUAGE***'
+ field_langcode_add_to_query: null
+ allow:
+ items_per_page: true
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 1a02c00..a280d73 100644
--- a/core/modules/views/config/schema/views.data_types.schema.yml
+++ b/core/modules/views/config/schema/views.data_types.schema.yml
@@ -262,6 +262,12 @@ views_display:
hide_attachment_summary:
type: boolean
label: 'Hide attachments in summary'
+ field_langcode:
+ type: string
+ label: 'Field langcode'
+ field_langcode_add_to_query:
+ type: string
+ label: 'Add the field language to the query'
views_sort:
type: views_handler