diff --git a/conf/cmi/field.field.node.news_article.field_content.yml b/conf/cmi/field.field.node.news_article.field_content.yml index 37c75871d..0307e9c11 100644 --- a/conf/cmi/field.field.node.news_article.field_content.yml +++ b/conf/cmi/field.field.node.news_article.field_content.yml @@ -8,6 +8,7 @@ dependencies: - paragraphs.paragraphs_type.banner - paragraphs.paragraphs_type.image - paragraphs.paragraphs_type.image_gallery + - paragraphs.paragraphs_type.number_highlights - paragraphs.paragraphs_type.remote_video - paragraphs.paragraphs_type.text module: @@ -37,6 +38,7 @@ settings: remote_video: remote_video banner: banner image_gallery: image_gallery + number_highlights: number_highlights negate: 0 target_bundles_drag_drop: banner: @@ -48,6 +50,9 @@ settings: image_gallery: weight: 4 enabled: true + number_highlights: + weight: 5 + enabled: true remote_video: weight: 2 enabled: true diff --git a/public/modules/custom/helfi_node_news_article/helfi_node_news_article.info.yml b/public/modules/custom/helfi_node_news_article/helfi_node_news_article.info.yml index c69754bdb..d5c38e5d2 100644 --- a/public/modules/custom/helfi_node_news_article/helfi_node_news_article.info.yml +++ b/public/modules/custom/helfi_node_news_article/helfi_node_news_article.info.yml @@ -13,5 +13,6 @@ dependencies: - helfi_platform_config:helfi_media - publication_date:publication_date - social_media:social_media + - helfi_platform_config:helfi_paragraphs_number_highlights 'interface translation project': helfi_node_news_article 'interface translation server pattern': modules/custom/helfi_node_news_article/translations/%language.po diff --git a/public/modules/custom/helfi_node_news_article/helfi_node_news_article.module b/public/modules/custom/helfi_node_news_article/helfi_node_news_article.module index fd35242e2..3616dfac7 100644 --- a/public/modules/custom/helfi_node_news_article/helfi_node_news_article.module +++ b/public/modules/custom/helfi_node_news_article/helfi_node_news_article.module @@ -175,6 +175,7 @@ function helfi_node_news_article_helfi_paragraph_types() : array { 'remote_video' => 2, 'banner' => 3, 'image_gallery' => 4, + 'number_highlights' => 5, ], ];