diff --git a/core/modules/views/config/schema/views.cache.schema.yml b/core/modules/views/config/schema/views.cache.schema.yml index 1139df6..602b7a7 100644 --- a/core/modules/views/config/schema/views.cache.schema.yml +++ b/core/modules/views/config/schema/views.cache.schema.yml @@ -1,20 +1,36 @@ # Schema for the views cache. -views.cache.none: +views_cache: type: mapping - label: 'None' + label: 'Cache configuration' mapping: type: type: string label: 'Cache type' + provider: + type: string + label: 'Provider' + +views.cache.none: + type: views_cache + label: 'No caching' + mapping: + options: + type: sequence + label: 'Options' + +views.cache.tag: + type: views_cache + label: 'Tag based caching' + mapping: + options: + type: sequence + label: 'Options' views.cache.time: - type: mapping - label: 'None' + type: views_cache + label: 'Time based caching' mapping: - type: - type: string - label: 'Time-based' options: type: mapping label: 'Cache options' 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 964a5f5..ca374df 100644 --- a/core/modules/views/config/schema/views.data_types.schema.yml +++ b/core/modules/views/config/schema/views.data_types.schema.yml @@ -49,15 +49,6 @@ views_display: label: 'Provider' cache: type: views.cache.[type] - label: 'Caching' - mapping: - type: - label: 'Cache type' - provider: - label: 'Provider' - options: - type: mapping - label: 'Options' empty: type: sequence label: 'No results behavior'