Skip to content

Commit

Permalink
UHF-9530: Unify tpr tokens with rest of helfi_platform_config
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Mar 11, 2024
1 parent 03b4e28 commit 811ad07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tags:
article_published_time: '[tpr_unit:created:html_datetime]'
og_description: '[tpr_unit:description:summary]'
og_email: '[tpr_unit:email]'
og_image: '[tpr_unit:picture]'
og_image: '[tpr_unit:shareable-image]'
og_latitude: '[tpr_unit:latitude]'
og_longitude: '[tpr_unit:longitude]'
og_phone_number: '[tpr_unit:phone]'
Expand Down
9 changes: 9 additions & 0 deletions modules/helfi_tpr_config/helfi_tpr_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -397,3 +397,12 @@ function helfi_tpr_config_update_9057(): void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_tpr_config');
}

/**
* UHF-9712: Unify metatags with platform config.
*/
function helfi_tpr_config_update_9058(): void {
// Re-import 'helfi_tpr_config' configuration.
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_tpr_config');
}

0 comments on commit 811ad07

Please sign in to comment.