diff --git a/conf/cmi/field.field.node.district.field_content.yml b/conf/cmi/field.field.node.district.field_content.yml index 2f7b91ea0..b0403ff9a 100644 --- a/conf/cmi/field.field.node.district.field_content.yml +++ b/conf/cmi/field.field.node.district.field_content.yml @@ -16,6 +16,7 @@ dependencies: - paragraphs.paragraphs_type.list_of_links - paragraphs.paragraphs_type.map - paragraphs.paragraphs_type.news_list + - paragraphs.paragraphs_type.number_highlights - paragraphs.paragraphs_type.project_listing - paragraphs.paragraphs_type.remote_video - paragraphs.paragraphs_type.text @@ -49,6 +50,7 @@ settings: map: map project_listing: project_listing image_gallery: image_gallery + number_highlights: number_highlights negate: 0 target_bundles_drag_drop: accordion: @@ -84,6 +86,9 @@ settings: news_list: weight: 15 enabled: true + number_highlights: + weight: 18 + enabled: true project_listing: weight: 16 enabled: true diff --git a/conf/cmi/field.field.node.district.field_lower_content.yml b/conf/cmi/field.field.node.district.field_lower_content.yml index e08d97e90..05f5a820a 100644 --- a/conf/cmi/field.field.node.district.field_lower_content.yml +++ b/conf/cmi/field.field.node.district.field_lower_content.yml @@ -6,6 +6,7 @@ dependencies: - field.storage.node.field_lower_content - node.type.district - paragraphs.paragraphs_type.list_of_links + - paragraphs.paragraphs_type.number_highlights module: - entity_reference_revisions id: node.district.field_lower_content @@ -23,6 +24,7 @@ settings: handler_settings: target_bundles: list_of_links: list_of_links + number_highlights: number_highlights negate: 0 target_bundles_drag_drop: accordion: @@ -91,6 +93,9 @@ settings: news_list: weight: -54 enabled: false + number_highlights: + weight: 17 + enabled: true phasing: weight: -43 enabled: false diff --git a/conf/cmi/field.field.node.project.field_content.yml b/conf/cmi/field.field.node.project.field_content.yml index 0cdea1084..9ea0f5688 100644 --- a/conf/cmi/field.field.node.project.field_content.yml +++ b/conf/cmi/field.field.node.project.field_content.yml @@ -14,6 +14,7 @@ dependencies: - paragraphs.paragraphs_type.image - paragraphs.paragraphs_type.list_of_links - paragraphs.paragraphs_type.map + - paragraphs.paragraphs_type.number_highlights - paragraphs.paragraphs_type.phasing - paragraphs.paragraphs_type.remote_video - paragraphs.paragraphs_type.text @@ -45,6 +46,7 @@ settings: contact_card_listing: contact_card_listing map: map phasing: phasing + number_highlights: number_highlights negate: 0 target_bundles_drag_drop: accordion: @@ -74,6 +76,9 @@ settings: map: weight: 9 enabled: true + number_highlights: + weight: 11 + enabled: true phasing: weight: 7 enabled: true diff --git a/public/modules/custom/helfi_kymp_content/helfi_kymp_content.info.yml b/public/modules/custom/helfi_kymp_content/helfi_kymp_content.info.yml index 4bbf643df..6f618eb7a 100644 --- a/public/modules/custom/helfi_kymp_content/helfi_kymp_content.info.yml +++ b/public/modules/custom/helfi_kymp_content/helfi_kymp_content.info.yml @@ -8,3 +8,4 @@ package: HELfi dependencies: - search_api:search_api - helfi_platform_config:helfi_paragraphs_image_gallery + - helfi_platform_config:helfi_paragraphs_number_highlights diff --git a/public/modules/custom/helfi_kymp_content/helfi_kymp_content.module b/public/modules/custom/helfi_kymp_content/helfi_kymp_content.module index cf4b2c482..639151635 100644 --- a/public/modules/custom/helfi_kymp_content/helfi_kymp_content.module +++ b/public/modules/custom/helfi_kymp_content/helfi_kymp_content.module @@ -320,6 +320,15 @@ function helfi_kymp_content_helfi_paragraph_types() : array { 'district' => [ 'field_content' => [ 'image_gallery' => 17, + 'number_highlights' => 18, + ], + 'field_lower_content' => [ + 'number_highlights' => 17, + ], + ], + 'project' => [ + 'field_content' => [ + 'number_highlights' => 11, ], ], ],