diff --git a/modules/helfi_tpr_config/config/install/core.entity_view_display.tpr_unit.tpr_unit.default.yml b/modules/helfi_tpr_config/config/install/core.entity_view_display.tpr_unit.tpr_unit.default.yml index c1953c5d2..8958b6fdb 100644 --- a/modules/helfi_tpr_config/config/install/core.entity_view_display.tpr_unit.tpr_unit.default.yml +++ b/modules/helfi_tpr_config/config/install/core.entity_view_display.tpr_unit.tpr_unit.default.yml @@ -93,10 +93,9 @@ content: weight: 2 region: content email: - type: string + type: email_mailto label: hidden - settings: - link_to_entity: false + settings: { } third_party_settings: { } weight: 8 region: content @@ -147,14 +146,6 @@ content: third_party_settings: { } weight: 24 region: content - longitude: - type: string - label: hidden - settings: - link_to_entity: false - third_party_settings: { } - weight: 23 - region: content links: type: tpr_connection label: hidden @@ -162,6 +153,14 @@ content: third_party_settings: { } weight: 25 region: content + longitude: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 23 + region: content name: type: string label: hidden diff --git a/modules/helfi_tpr_config/helfi_tpr_config.install b/modules/helfi_tpr_config/helfi_tpr_config.install index 6daae0f03..37be238dc 100644 --- a/modules/helfi_tpr_config/helfi_tpr_config.install +++ b/modules/helfi_tpr_config/helfi_tpr_config.install @@ -388,3 +388,12 @@ function helfi_tpr_config_update_9061(): void { \Drupal::service('helfi_platform_config.config_update_helper') ->update('helfi_tpr_config'); } + +/** + * UHF-9562: Updated email field formatter. + */ +function helfi_tpr_config_update_9062(): void { + // Re-import 'helfi_tpr_config' configuration. + \Drupal::service('helfi_platform_config.config_update_helper') + ->update('helfi_tpr_config'); +}