From 602e163484fc1e05e3f4b4d484efb0ad98bacf2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Wed, 4 Sep 2024 12:20:35 +0300 Subject: [PATCH] UHF-9101: Added Unit contact card to Standard page and Landing page. --- modules/helfi_tpr_config/helfi_tpr_config.install | 4 ++-- modules/helfi_tpr_config/helfi_tpr_config.module | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/helfi_tpr_config/helfi_tpr_config.install b/modules/helfi_tpr_config/helfi_tpr_config.install index 5cbcbe084..d2bec8fcd 100644 --- a/modules/helfi_tpr_config/helfi_tpr_config.install +++ b/modules/helfi_tpr_config/helfi_tpr_config.install @@ -381,9 +381,9 @@ function helfi_tpr_config_update_9052() : void { } /** - * UHF-10191 Change the unit default displays to use new image styles. + * UHF-9101 Add "Unit contact card" to standard page and landing page. */ -function helfi_tpr_config_update_9068(): void { +function helfi_tpr_config_update_9069(): void { \Drupal::service('helfi_platform_config.config_update_helper') ->update('helfi_tpr_config'); } diff --git a/modules/helfi_tpr_config/helfi_tpr_config.module b/modules/helfi_tpr_config/helfi_tpr_config.module index dce867418..7fd2607d9 100644 --- a/modules/helfi_tpr_config/helfi_tpr_config.module +++ b/modules/helfi_tpr_config/helfi_tpr_config.module @@ -125,11 +125,13 @@ function helfi_tpr_config_helfi_paragraph_types() : array { 'content_liftup' => 12, 'service_list_search' => 16, 'unit_search' => 17, + 'unit_contact_card' => 18, ], 'field_lower_content' => [ 'content_liftup' => 12, 'service_list_search' => 16, 'unit_search' => 17, + 'unit_contact_card' => 18, ], ], 'landing_page' => [ @@ -138,6 +140,7 @@ function helfi_tpr_config_helfi_paragraph_types() : array { 'service_list' => 15, 'service_list_search' => 16, 'unit_search' => 17, + 'unit_contact_card' => 18, ], ], ],