diff --git a/modules/helfi_tpr_config/helfi_tpr_config.install b/modules/helfi_tpr_config/helfi_tpr_config.install index 897af1b00..c4ef37525 100644 --- a/modules/helfi_tpr_config/helfi_tpr_config.install +++ b/modules/helfi_tpr_config/helfi_tpr_config.install @@ -351,3 +351,10 @@ function helfi_tpr_config_update_9050(): void { \Drupal::service('helfi_platform_config.config_update_helper') ->update('helfi_tpr_config'); } + +/** + * UHF-8936 Update tpr_unit to include map and text paragraphs in lower content. + */ +function helfi_tpr_config_update_9051(): void { + helfi_platform_config_update_paragraph_target_types(); +} diff --git a/modules/helfi_tpr_config/helfi_tpr_config.module b/modules/helfi_tpr_config/helfi_tpr_config.module index 650a59847..783f3a7ed 100644 --- a/modules/helfi_tpr_config/helfi_tpr_config.module +++ b/modules/helfi_tpr_config/helfi_tpr_config.module @@ -66,6 +66,8 @@ function helfi_tpr_config_helfi_paragraph_types() : array { 'contact_card_listing', 'remote_video', 'event_list', + 'map', + 'text', ], ], ],