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 #548

Merged
merged 3 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions conf/cmi/core.entity_form_display.node.announcement.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 17
weight: 18
region: content
settings:
rows: 9
Expand All @@ -51,7 +51,7 @@ content:
third_party_settings: { }
field_announcement_content_pages:
type: select2_entity_reference
weight: 15
weight: 14
region: content
settings:
width: 100%
Expand All @@ -61,7 +61,7 @@ content:
third_party_settings: { }
field_announcement_link:
type: link_default
weight: 18
weight: 19
region: content
settings:
placeholder_url: ''
Expand All @@ -79,7 +79,7 @@ content:
third_party_settings: { }
field_announcement_title:
type: string_textfield
weight: 16
weight: 17
region: content
settings:
size: 60
Expand All @@ -102,13 +102,6 @@ content:
match_operator: CONTAINS
match_limit: 20
third_party_settings: { }
field_publish_externally:
type: boolean_checkbox
weight: 14
region: content
settings:
display_label: true
third_party_settings: { }
langcode:
type: language_select
weight: 1
Expand Down Expand Up @@ -180,6 +173,13 @@ content:
region: content
settings: { }
third_party_settings: { }
field_publish_externally:
type: boolean_checkbox
weight: 14
region: content
settings:
display_label: true
third_party_settings: { }
hidden:
hide_sidebar_navigation: true
promote: true
Expand Down
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
67 changes: 30 additions & 37 deletions conf/cmi/core.entity_form_display.node.news_item.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ dependencies:
- paragraphs
- path
- publication_date
- radioactivity
- scheduler
- select2
- radioactivity
third_party_settings:
field_group:
group_news_item_links:
Expand Down Expand Up @@ -69,18 +69,11 @@ third_party_settings:
format_type: details
format_settings:
classes: ''
show_empty_fields: true
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: false
element: div
show_label: '0'
label_element: h3
label_element_classes: ''
attributes: ''
effect: none
speed: fast
required_fields: true
_core:
default_config_hash: RHDFf9pvwgV2FvoelXlH7dXXBoWkziCZI1FWuQS94k8
id: node.news_item.default
Expand Down Expand Up @@ -136,24 +129,14 @@ content:
rows: 5
placeholder: ''
third_party_settings: { }
field_news_groups:
type: select2_entity_reference
weight: 26
region: content
settings:
width: 100%
autocomplete: false
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_news_item_links_link:
type: linkit
weight: 20
region: content
settings:
placeholder_url: ''
placeholder_title: ''
linkit_profile: tpr_content
linkit_profile: helfi
linkit_auto_link_text: true
third_party_settings: { }
field_news_item_links_title:
Expand All @@ -174,22 +157,6 @@ content:
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_news_neighbourhoods:
type: select2_entity_reference
weight: 27
region: content
settings:
width: 100%
autocomplete: false
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_radioactivity:
type: radioactivity_reference
weight: 28
region: content
settings: { }
third_party_settings: { }
field_short_title:
type: string_textfield
weight: 2
Expand Down Expand Up @@ -288,5 +255,31 @@ content:
region: content
settings: { }
third_party_settings: { }
field_news_groups:
type: select2_entity_reference
weight: 26
region: content
settings:
width: 100%
autocomplete: false
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_news_neighbourhoods:
type: select2_entity_reference
weight: 27
region: content
settings:
width: 100%
autocomplete: false
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_radioactivity:
type: radioactivity_reference
weight: 28
region: content
settings: { }
third_party_settings: { }
hidden:
hide_sidebar_navigation: true
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
70 changes: 35 additions & 35 deletions conf/cmi/core.entity_view_display.node.news_item.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ dependencies:
- entity_reference_revisions
- helfi_platform_config
- link
- radioactivity
- user
- radioactivity
_core:
default_config_hash: fHNnwg186A981K7d578If1MCkuYBmQqaxabpDSAZwIc
id: node.news_item.default
Expand Down Expand Up @@ -60,14 +60,6 @@ content:
third_party_settings: { }
weight: 8
region: content
field_news_groups:
type: entity_reference_label
label: above
settings:
link: false
third_party_settings: { }
weight: 10
region: content
field_news_item_links_link:
type: link
label: hidden
Expand All @@ -88,32 +80,6 @@ content:
third_party_settings: { }
weight: 6
region: content
field_news_item_tags:
type: entity_reference_label
label: above
settings:
link: false
third_party_settings: { }
weight: 11
region: content
field_news_neighbourhoods:
type: entity_reference_label
label: above
settings:
link: false
third_party_settings: { }
weight: 12
region: content
field_radioactivity:
type: radioactivity_reference_emitter
label: above
settings:
energy: 10.0
display: false
decimals: 0.0
third_party_settings: { }
weight: 9
region: content
field_short_title:
type: string
label: hidden
Expand Down Expand Up @@ -146,6 +112,40 @@ content:
third_party_settings: { }
weight: 3
region: content
field_news_groups:
type: entity_reference_label
label: above
settings:
link: false
third_party_settings: { }
weight: 10
region: content
field_news_item_tags:
type: entity_reference_label
label: above
settings:
link: false
third_party_settings: { }
weight: 11
region: content
field_news_neighbourhoods:
type: entity_reference_label
label: above
settings:
link: false
third_party_settings: { }
weight: 12
region: content
field_radioactivity:
type: radioactivity_reference_emitter
label: above
settings:
energy: 10.0
display: false
decimals: 0.0
third_party_settings: { }
weight: 9
region: content
hidden:
langcode: true
search_api_excerpt: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ content:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: image
view_mode: media_library
link: false
third_party_settings: { }
weight: 1
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ dependencies:
- field.field.paragraph.image.field_image_caption
- field.field.paragraph.image.field_original_aspect_ratio
- paragraphs.paragraphs_type.image
module:
- helfi_platform_config
_core:
default_config_hash: WOIjdvfdwRn0wIU-TyaRDV4PKTm77QLskpKljuLGk5Q
default_config_hash: 3mLKi-YKV64AEso5VbzLofy-2PrULe3WFxhURqVP6NM
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 @@ -49,6 +49,7 @@ module:
helfi_base_content: 0
helfi_ckeditor: 0
helfi_etusivu: 0
helfi_etusivu_config: 0
helfi_eu_cookie_compliance: 0
helfi_global_navigation: 0
helfi_image_styles: 0
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
14 changes: 7 additions & 7 deletions conf/cmi/field.field.node.landing_page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@ settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
front_page_latest_news: front_page_latest_news
front_page_top_news: front_page_top_news
current: current
front_page_top_news: front_page_top_news
front_page_latest_news: front_page_latest_news
event_list: event_list
columns: columns
list_of_links: list_of_links
content_cards: content_cards
banner: banner
liftup_with_image: liftup_with_image
popular_services: popular_services
from_library: from_library
chart: chart
remote_video: remote_video
map: map
columns: columns
phasing: phasing
popular_services: popular_services
map: map
remote_video: remote_video
chart: chart
target_group_links: target_group_links
hearings: hearings
negate: 0
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/field.field.node.news_item.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ settings:
handler_settings:
target_bundles:
text: text
banner: banner
image: image
remote_video: remote_video
banner: banner
negate: 0
target_bundles_drag_drop:
banner:
Expand Down
Loading
Loading