Skip to content

Commit

Permalink
Merge pull request #966 from City-of-Helsinki/UHF-10239
Browse files Browse the repository at this point in the history
UHF-10239: Added image gallery to district content type
  • Loading branch information
khalima authored Nov 19, 2024
2 parents 2c28715 + 56ddcdf commit c1e098c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
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 @@ -12,6 +12,7 @@ dependencies:
- paragraphs.paragraphs_type.event_list
- paragraphs.paragraphs_type.from_library
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.image_gallery
- paragraphs.paragraphs_type.list_of_links
- paragraphs.paragraphs_type.map
- paragraphs.paragraphs_type.news_list
Expand Down Expand Up @@ -47,6 +48,7 @@ settings:
contact_card_listing: contact_card_listing
map: map
project_listing: project_listing
image_gallery: image_gallery
negate: 0
target_bundles_drag_drop:
accordion:
Expand All @@ -70,6 +72,9 @@ settings:
image:
weight: 3
enabled: true
image_gallery:
weight: 17
enabled: true
list_of_links:
weight: 4
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ package: HELfi
'interface translation server pattern': modules/custom/helfi_kymp_content/translations/%language.po
dependencies:
- search_api:search_api
- helfi_platform_config:helfi_paragraphs_image_gallery
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@ function helfi_kymp_content_helfi_paragraph_types() : array {
'list_of_plans' => 19,
],
],
'district' => [
'field_content' => [
'image_gallery' => 17,
],
],
],
'paragraphs_library_item' => [
'paragraphs_library_item' => [
Expand Down

0 comments on commit c1e098c

Please sign in to comment.