Skip to content

Commit

Permalink
Merge pull request #650 from City-of-Helsinki/UHF-8936_tpr-unit-text-…
Browse files Browse the repository at this point in the history
…and-map

UHF-8936: Enable text and map paragraphs for lower content of TPR units
  • Loading branch information
dire authored Nov 24, 2023
2 parents f2ee2c0 + abf0ce6 commit adfc86f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/helfi_tpr_config/helfi_tpr_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,10 @@ function helfi_tpr_config_update_9050(): void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_tpr_config');
}

/**
* UHF-8936 Update tpr_unit to include map and text paragraphs in lower content.
*/
function helfi_tpr_config_update_9051(): void {
helfi_platform_config_update_paragraph_target_types();
}
2 changes: 2 additions & 0 deletions modules/helfi_tpr_config/helfi_tpr_config.module
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ function helfi_tpr_config_helfi_paragraph_types() : array {
'contact_card_listing',
'remote_video',
'event_list',
'map',
'text',
],
],
],
Expand Down

0 comments on commit adfc86f

Please sign in to comment.