Skip to content

Commit

Permalink
Merge pull request #481 from City-of-Helsinki/UHF-9159_subgroup-kasko…
Browse files Browse the repository at this point in the history
…-configs

UHF-9159: Subgroup field display configs.
  • Loading branch information
dire authored Nov 21, 2023
2 parents 9a1eaa5 + 7faacbb commit df84b0e
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 29 deletions.
10 changes: 10 additions & 0 deletions conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,16 @@ content:
formatter_settings: { }
show_description: false
third_party_settings: { }
subgroup:
type: readonly_field_widget
weight: 40
region: content
settings:
label: above
formatter_type: null
formatter_settings: { }
show_description: false
third_party_settings: { }
toc_enabled:
type: boolean_checkbox
weight: 3
Expand Down
65 changes: 36 additions & 29 deletions conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 14
weight: 16
region: content
accessibility_phone:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 13
weight: 15
region: content
accessibility_sentences:
type: tpr_accessibility_sentence
label: hidden
settings: { }
third_party_settings: { }
weight: 21
weight: 23
region: content
accessibility_www:
type: link
Expand All @@ -64,36 +64,36 @@ content:
rel: ''
target: ''
third_party_settings: { }
weight: 15
weight: 17
region: content
address:
type: address_plain
label: hidden
settings: { }
third_party_settings: { }
weight: 5
weight: 6
region: content
address_postal:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 9
weight: 11
region: content
call_charge_info:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 11
weight: 13
region: content
contacts:
type: tpr_connection
label: hidden
settings: { }
third_party_settings: { }
weight: 26
weight: 30
region: content
description:
type: text_default
Expand All @@ -108,7 +108,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 8
weight: 10
region: content
field_content:
type: entity_reference_revisions_entity_view
Expand All @@ -117,7 +117,7 @@ content:
view_mode: default
link: ''
third_party_settings: { }
weight: 20
weight: 22
region: content
field_lower_content:
type: entity_reference_revisions_entity_view
Expand All @@ -126,14 +126,14 @@ content:
view_mode: default
link: ''
third_party_settings: { }
weight: 22
weight: 24
region: content
field_metatags:
type: metatag_empty_formatter
label: above
settings: { }
third_party_settings: { }
weight: 17
weight: 19
region: content
field_ontologyword_details:
type: tpr_ontologyword_details_formatter
Expand All @@ -147,30 +147,30 @@ content:
label: hidden
settings: { }
third_party_settings: { }
weight: 23
weight: 27
region: content
latitude:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 24
weight: 28
region: content
links:
type: tpr_connection
label: hidden
settings: { }
third_party_settings: { }
weight: 25
weight: 29
region: content
longitude:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 23
weight: 25
region: content
name:
type: string
Expand All @@ -193,22 +193,22 @@ content:
label: hidden
settings: { }
third_party_settings: { }
weight: 7
weight: 9
region: content
other_info:
type: tpr_connection
label: hidden
settings: { }
third_party_settings: { }
weight: 18
weight: 20
region: content
phone:
type: telephone_link
label: hidden
settings:
title: ''
third_party_settings: { }
weight: 6
weight: 8
region: content
picture_url:
type: imagecache_external_responsive_image
Expand All @@ -217,7 +217,7 @@ content:
imagecache_external_link: ''
imagecache_external_responsive_style: image__3_2
third_party_settings: { }
weight: 3
weight: 4
region: content
picture_url_override:
type: entity_reference_entity_view
Expand All @@ -226,22 +226,22 @@ content:
view_mode: image
link: false
third_party_settings: { }
weight: 4
weight: 5
region: content
price_info:
type: tpr_connection
label: hidden
settings: { }
third_party_settings: { }
weight: 19
weight: 21
region: content
provided_languages:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 23
weight: 26
region: content
service_map_embed:
type: service_map_embed
Expand All @@ -251,15 +251,22 @@ content:
link_title: 'Open larger map'
target: true
third_party_settings: { }
weight: 10
weight: 12
region: content
services:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 16
weight: 18
region: content
subgroup:
type: tpr_connection
label: hidden
settings: { }
third_party_settings: { }
weight: 32
region: content
toc_enabled:
type: boolean
Expand All @@ -269,21 +276,21 @@ content:
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 2
weight: 3
region: content
topical:
type: tpr_connection
label: hidden
settings: { }
third_party_settings: { }
weight: 27
weight: 31
region: content
unit_picture_caption:
type: basic_string
label: hidden
settings: { }
third_party_settings: { }
weight: 5
weight: 7
region: content
www:
type: link
Expand All @@ -295,7 +302,7 @@ content:
rel: ''
target: ''
third_party_settings: { }
weight: 12
weight: 14
region: content
hidden:
created: true
Expand Down

0 comments on commit df84b0e

Please sign in to comment.