Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions conf/cmi/field.field.node.district.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -84,6 +86,9 @@ settings:
news_list:
weight: 15
enabled: true
number_highlights:
weight: 18
enabled: true
project_listing:
weight: 16
enabled: true
Expand Down
5 changes: 5 additions & 0 deletions conf/cmi/field.field.node.district.field_lower_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -91,6 +93,9 @@ settings:
news_list:
weight: -54
enabled: false
number_highlights:
weight: 17
enabled: true
phasing:
weight: -43
enabled: false
Expand Down
5 changes: 5 additions & 0 deletions conf/cmi/field.field.node.project.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -74,6 +76,9 @@ settings:
map:
weight: 9
enabled: true
number_highlights:
weight: 11
enabled: true
phasing:
weight: 7
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
],
],
Expand Down