diff --git a/modules/helfi_node_page/helfi_node_page.install b/modules/helfi_node_page/helfi_node_page.install index aec2213d7..d1802c1e3 100644 --- a/modules/helfi_node_page/helfi_node_page.install +++ b/modules/helfi_node_page/helfi_node_page.install @@ -66,3 +66,10 @@ function helfi_node_page_install($is_syncing) : void { helfi_node_page_grant_permissions(); } + +/** + * Add news list paragraph to upper content area on basic page. + */ +function helfi_node_page_update_9001() : void { + helfi_platform_config_update_paragraph_target_types(); +} diff --git a/modules/helfi_node_page/helfi_node_page.module b/modules/helfi_node_page/helfi_node_page.module index ff208d90d..0726c1a87 100644 --- a/modules/helfi_node_page/helfi_node_page.module +++ b/modules/helfi_node_page/helfi_node_page.module @@ -28,6 +28,7 @@ function helfi_node_page_helfi_paragraph_types() : array { 'content_liftup', 'banner', 'event_list', + 'news_list', 'from_library', 'phasing', 'chart',