Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-9755 Configuration replacement #790

Merged
merged 8 commits into from
Mar 21, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ content:
third_party_settings: { }
simple_sitemap:
weight: 10
region: content
settings: { }
third_party_settings: { }
region: content
status:
type: boolean_checkbox
weight: 12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ content:
weight: 4
region: content
settings:
linkit_profile: helfi
linkit_auto_link_text: false
linkit_profile: helfi
third_party_settings: { }
field_banner_link_design:
type: design_field_widget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- field.field.paragraph.list_of_links_item.field_list_of_links_link
- paragraphs.paragraphs_type.list_of_links_item
module:
- hdbt_admin_tools
- media_library
enforced:
module:
Expand Down Expand Up @@ -37,8 +38,8 @@ content:
weight: 1
region: content
settings:
linkit_profile: helfi
linkit_auto_link_text: false
linkit_profile: helfi
third_party_settings: { }
hidden:
created: true
Expand Down
20 changes: 10 additions & 10 deletions conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,6 @@ content:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_districts:
type: select2_entity_reference
weight: 29
region: content
settings:
width: 100%
autocomplete: false
match_operator: STARTS_WITH
match_limit: 10
third_party_settings: { }
field_lower_content:
type: paragraphs
weight: 29
Expand Down Expand Up @@ -427,6 +417,16 @@ content:
formatter_settings: { }
show_description: false
third_party_settings: { }
field_districts:
type: select2_entity_reference
weight: 29
region: content
settings:
width: 100%
autocomplete: false
match_operator: STARTS_WITH
match_limit: 10
third_party_settings: { }
hidden:
created: true
hide_description: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ content:
weight: 0
region: content
list:
weight: 100
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
search_api_excerpt: true
2 changes: 2 additions & 0 deletions conf/cmi/core.entity_view_display.paragraph.image.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies:
- field.field.paragraph.image.field_image_caption
- field.field.paragraph.image.field_original_aspect_ratio
- paragraphs.paragraphs_type.image
module:
- helfi_platform_config
id: paragraph.image.default
targetEntityType: paragraph
bundle: image
Expand Down
1 change: 1 addition & 0 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ module:
helfi_proxy: 0
helfi_react_search: 0
helfi_sote: 0
helfi_sote_config: 0
helfi_toc: 0
helfi_tpr: 0
helfi_tpr_config: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_announcements
label: 'Helfi: Announcements'
label_plural: 'Helfi: Announcements'
description: ''
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_hearings
label: 'Helfi: Hearing'
label_plural: 'Helfi: Hearing'
description: 'Helfi hearings from hearing api.'
read_only: true
generate_aliases: false
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news
label: 'Helfi: News'
label_plural: 'Helfi: News'
description: ''
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_groups
label: 'Helfi: News groups'
label_plural: 'Helfi: News groups'
description: 'Retrieves news groups taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_neighbourhoods
label: 'Helfi: News neighbourhoods'
label_plural: 'Helfi: News neighbourhoods'
description: 'Retrieves news neighbourhoods taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_tags
label: 'Helfi: News tags'
label_plural: 'Helfi: News tags'
description: 'Retrieves news tags taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
30 changes: 15 additions & 15 deletions conf/cmi/field.field.node.landing_page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,29 @@ settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
banner: banner
chart: chart
columns: columns
list_of_links: list_of_links
content_cards: content_cards
content_liftup: content_liftup
event_list: event_list
from_library: from_library
health_station_search: health_station_search
hearings: hearings
banner: banner
liftup_with_image: liftup_with_image
list_of_links: list_of_links
map: map
news_list: news_list
phasing: phasing
popular_services: popular_services
from_library: from_library
columns: columns
phasing: phasing
map: map
remote_video: remote_video
service_list: service_list
service_list_search: service_list_search
chart: chart
target_group_links: target_group_links
event_list: event_list
news_list: news_list
hearings: hearings
unit_accessibility_information: unit_accessibility_information
unit_contact_card: unit_contact_card
unit_search: unit_search
health_station_search: health_station_search
maternity_and_child_health_clini: maternity_and_child_health_clini
content_liftup: content_liftup
service_list: service_list
service_list_search: service_list_search
unit_search: unit_search
negate: 0
target_bundles_drag_drop:
banner:
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/hdbt_admin_tools.site_settings.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
_core:
default_config_hash: OgPHnjkIjDn42IHAwLRXhNzdhX825gq2SrlYKw4kbQ8
langcode: en
path_to_json: /themes/contrib/hdbt/src/icons/editor-selectable-icons.json
site_settings:
default_icon: abstract-1
theme_color: coat-of-arms
koro: basic
footer_settings:
footer_color: dark
path_to_json: /themes/contrib/hdbt/src/icons/editor-selectable-icons.json
10 changes: 5 additions & 5 deletions conf/cmi/language/fi/views.view.unit_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ display:
default:
display_options:
filters:
provided_languages_value:
group_info:
group_items:
1:
title: 'Näytä vain toimipisteet, joista saa palvelua ruotsiksi.'
combine:
group_info:
label: 'Kentät yhdistävä suodatin'
expose:
label: Etsi
placeholder: 'Syötä toimipisteen nimi tai osoite'
provided_languages_value:
group_info:
group_items:
1:
title: 'Näytä vain toimipisteet, joista saa palvelua ruotsiksi.'
pager:
options:
tags:
Expand Down
10 changes: 5 additions & 5 deletions conf/cmi/language/sv/views.view.unit_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ display:
exception:
title: Alla
filters:
provided_languages_value:
group_info:
group_items:
1:
title: 'Visa endast de verksamhetsställen där man får betjäning på svenska.'
combine:
expose:
label: Sök
group_info:
label: 'Kombinera filterfält'
provided_languages_value:
group_info:
group_items:
1:
title: 'Visa endast de verksamhetsställen där man får betjäning på svenska.'
entity_reference:
display_title: Objektsreferens
4 changes: 2 additions & 2 deletions conf/cmi/views.view.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ display:
image_link: ''
image_style: media_library
image_loading:
attribute: lazy
attribute: eager
name:
id: name
table: media_field_data
Expand Down Expand Up @@ -1374,7 +1374,7 @@ display:
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
date_format: long
custom_date_format: ''
time_diff:
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/views.view.unit_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- taxonomy
- user
_core:
default_config_hash: mwuTSnSRTePqNG6WFWBI9ajFxnho8CH-6sfyfJnDr0E
default_config_hash: aMXI78okDdG1WmRzpZBIIpkiRxm_tQnWnoAreyeTY5Y
id: unit_search
label: 'Unit search'
module: views
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
config_rewrite:
replace: ['hidden']
content:
field_districts:
type: select2_entity_reference
weight: 29
region: content
settings:
width: 100%
autocomplete: false
match_operator: STARTS_WITH
match_limit: 10
third_party_settings: { }
hidden:
created: true
hide_description: true
ontologyword_ids: true
subgroup: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
display:
default:
display_options:
filters:
provided_languages_value:
group_info:
group_items:
1:
title: 'Näytä vain toimipisteet, joista saa palvelua ruotsiksi.'
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
display:
default:
display_options:
filters:
provided_languages_value:
group_info:
group_items:
1:
title: 'Visa endast de verksamhetsställen där man får betjäning på svenska.'
Loading