Skip to content

Commit

Permalink
Merge pull request #556 from City-of-Helsinki/UHF-9755
Browse files Browse the repository at this point in the history
UHF-9755 Config override vol. 2
  • Loading branch information
khalima authored Mar 21, 2024
2 parents 8cf7953 + d7a19cb commit 9234db1
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 34 deletions.
68 changes: 34 additions & 34 deletions conf/cmi/views.view.news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ dependencies:
- node
- user
_core:
default_config_hash: SZqO5m00-m_85j4SvXFgDw5YnJoXBvwS29Wu2pIINsM
default_config_hash: 2Cf3ricWLAkEejcTGzrxxbtThOWtaXrPMb2yy4iMkFM
id: news
label: 'Platform News'
label: 'Platform news'
module: views
description: ''
tag: ''
Expand Down Expand Up @@ -245,22 +245,6 @@ display:
options: { }
empty: { }
sorts:
weight:
id: weight
table: draggableviews_structure
field: weight
relationship: none
group_type: group
admin_label: ''
plugin_id: draggable_views_sort_default
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
draggable_views_reference: this
draggable_views_null_order: after
draggable_views_pass_arguments: false
published_at:
id: published_at
table: node_field_data
Expand All @@ -277,6 +261,22 @@ display:
field_identifier: published_at
exposed: false
granularity: second
weight:
id: weight
table: draggableviews_structure
field: weight
relationship: none
group_type: group
admin_label: ''
plugin_id: draggable_views_sort_default
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
draggable_views_reference: this
draggable_views_null_order: after
draggable_views_pass_arguments: false
arguments:
nid:
id: nid
Expand Down Expand Up @@ -340,18 +340,19 @@ display:
expose:
operator_limit_selection: false
operator_list: { }
promote:
id: promote
langcode:
id: langcode
table: node_field_data
field: promote
field: langcode
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: promote
plugin_id: boolean
operator: '='
value: '1'
entity_field: langcode
plugin_id: language
operator: in
value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
group: 1
exposed: false
expose:
Expand All @@ -368,6 +369,7 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
reduce: false
is_grouped: false
group_info:
label: ''
Expand All @@ -380,19 +382,18 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
langcode:
id: langcode
promote:
id: promote
table: node_field_data
field: langcode
field: promote
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
entity_field: promote
plugin_id: boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
Expand All @@ -409,7 +410,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
reduce: false
is_grouped: false
group_info:
label: ''
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
config_rewrite:
replace: [
'dependencies',
'display.latest_news.display_options.filters.langcode.value',
'display.default.display_options.filters.langcode.value'
]
dependencies:
config:
- core.entity_view_mode.node.medium_teaser
- core.entity_view_mode.node.tiny_teaser
- field.storage.node.field_main_image
- node.type.news_item
module:
- draggableviews
- node
- user
display:
default:
display_options:
pager:
options:
items_per_page: 6
sorts:
weight:
id: weight
table: draggableviews_structure
field: weight
relationship: none
group_type: group
admin_label: ''
plugin_id: draggable_views_sort_default
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
draggable_views_reference: this
draggable_views_null_order: after
draggable_views_pass_arguments: false
filters:
type:
value:
group: '1'
promote:
id: promote
table: node_field_data
field: promote
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: promote
plugin_id: boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
langcode:
value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
filter_groups:
operator: AND
groups:
1: AND
row:
options:
view_mode: medium_teaser
latest_news:
display_options:
title: 'Latest news'
sorts:
published_at:
id: published_at
table: node_field_data
field: published_at
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: published_at
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: ''
exposed: false
granularity: minute
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
news_item: news_item
expose:
operator_limit_selection: false
operator_list: { }
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
value:
'***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
filter_groups:
operator: AND
groups:
1: AND
style:
type: default
options:
row_class: ''
default_row_class: true
uses_fields: true
row:
type: 'entity:node'
options:
relationship: none
view_mode: tiny_teaser
defaults:
title: false
use_more: false
use_more_always: false
use_more_text: false
link_display: false
link_url: false
style: false
row: false
sorts: false
filters: false
filter_groups: false
use_more: true
use_more_always: true
use_more_text: 'See all news'
link_display: custom_url
link_url: /news
display_extenders:
metatag_display_extender: { }

0 comments on commit 9234db1

Please sign in to comment.