Skip to content

Commit

Permalink
UHF-8936: Enabled text and map paragraphs for lower content of tpr un…
Browse files Browse the repository at this point in the history
…its.
  • Loading branch information
dire committed Nov 23, 2023
1 parent f2ee2c0 commit abf0ce6
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 abf0ce6

Please sign in to comment.