Skip to content

Commit

Permalink
Merge pull request #300 from City-of-Helsinki/dev
Browse files Browse the repository at this point in the history
Dev to main
  • Loading branch information
khalima authored Oct 25, 2023
2 parents 2a2a5f8 + 847d237 commit 0f85666
Show file tree
Hide file tree
Showing 16 changed files with 443 additions and 217 deletions.
1 change: 1 addition & 0 deletions .platform/schema
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"drupal/coder": "^8.3",
"drupal/core-dev": "^9.1",
"mglaman/phpstan-drupal": "^1.0",
"jangregor/phpstan-prophecy": "^1.0",
"mglaman/phpstan-drupal": "^1.2",
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpunit/phpunit": "^9.6",
"weitzman/drupal-test-traits": "^2.1"
},
Expand Down
435 changes: 289 additions & 146 deletions composer.lock

Large diffs are not rendered by default.

96 changes: 61 additions & 35 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 @@ -17,15 +17,15 @@ dependencies:
- path
- readonly_field_widget
_core:
default_config_hash: RcjlFBYhitNunsd4AVtO6f3l-efOfSCW_nlNFMznzhk
default_config_hash: C2Xc2BwYmiIL9SayNQLxaufcoqA5SLusFthQgnmb10A
id: tpr_unit.tpr_unit.default
targetEntityType: tpr_unit
bundle: tpr_unit
mode: default
content:
accessibility_email:
type: readonly_field_widget
weight: 9
weight: 12
region: content
settings:
label: above
Expand All @@ -35,7 +35,7 @@ content:
third_party_settings: { }
accessibility_phone:
type: readonly_field_widget
weight: 8
weight: 11
region: content
settings:
label: above
Expand All @@ -45,7 +45,7 @@ content:
third_party_settings: { }
accessibility_www:
type: readonly_field_widget
weight: 12
weight: 17
region: content
settings:
label: above
Expand All @@ -55,7 +55,7 @@ content:
third_party_settings: { }
address:
type: readonly_field_widget
weight: 14
weight: 19
region: content
settings:
label: above
Expand All @@ -65,7 +65,7 @@ content:
third_party_settings: { }
address_postal:
type: readonly_field_widget
weight: 16
weight: 21
region: content
settings:
label: above
Expand All @@ -75,7 +75,7 @@ content:
third_party_settings: { }
call_charge_info:
type: readonly_field_widget
weight: 15
weight: 20
region: content
settings:
label: above
Expand All @@ -85,8 +85,8 @@ content:
third_party_settings: { }
contacts:
type: readonly_field_widget
weight: 39
region: content
weight: 36
settings:
label: above
formatter_type: null
Expand All @@ -95,7 +95,7 @@ content:
third_party_settings: { }
description:
type: readonly_field_widget
weight: 13
weight: 18
region: content
settings:
label: above
Expand All @@ -105,7 +105,7 @@ content:
third_party_settings: { }
email:
type: readonly_field_widget
weight: 7
weight: 10
region: content
settings:
label: above
Expand All @@ -115,7 +115,7 @@ content:
third_party_settings: { }
field_content:
type: paragraphs
weight: 27
weight: 28
region: content
settings:
title: Paragraph
Expand All @@ -134,7 +134,7 @@ content:
third_party_settings: { }
field_lower_content:
type: paragraphs
weight: 28
weight: 29
region: content
settings:
title: Paragraph
Expand All @@ -153,14 +153,15 @@ content:
third_party_settings: { }
field_metatags:
type: metatag_firehose
weight: 26
weight: 27
region: content
settings:
sidebar: false
use_details: true
third_party_settings: { }
field_unit_type:
type: entity_reference_autocomplete
weight: 28
weight: 30
region: content
settings:
match_operator: CONTAINS
Expand All @@ -170,15 +171,15 @@ content:
third_party_settings: { }
hide_sidebar_navigation:
type: boolean_checkbox
weight: 29
weight: 31
region: content
settings:
display_label: true
third_party_settings: { }
highlights:
type: readonly_field_widget
weight: 36
region: content
weight: 33
settings:
label: above
formatter_type: null
Expand All @@ -194,7 +195,7 @@ content:
third_party_settings: { }
latitude:
type: readonly_field_widget
weight: 17
weight: 22
region: content
settings:
label: above
Expand All @@ -204,8 +205,8 @@ content:
third_party_settings: { }
links:
type: readonly_field_widget
weight: 33
region: content
weight: 31
settings:
label: above
formatter_type: null
Expand All @@ -214,7 +215,7 @@ content:
third_party_settings: { }
longitude:
type: readonly_field_widget
weight: 18
weight: 23
region: content
settings:
label: above
Expand Down Expand Up @@ -242,8 +243,8 @@ content:
third_party_settings: { }
opening_hours:
type: readonly_field_widget
weight: 35
region: content
weight: 32
settings:
label: above
formatter_type: null
Expand All @@ -252,8 +253,8 @@ content:
third_party_settings: { }
other_info:
type: readonly_field_widget
weight: 37
region: content
weight: 34
settings:
label: above
formatter_type: null
Expand All @@ -262,13 +263,13 @@ content:
third_party_settings: { }
path:
type: path
weight: 11
weight: 16
region: content
settings: { }
third_party_settings: { }
phone:
type: readonly_field_widget
weight: 6
weight: 9
region: content
settings:
label: above
Expand All @@ -278,7 +279,7 @@ content:
third_party_settings: { }
picture_url:
type: readonly_field_widget
weight: 3
weight: 5
region: content
settings:
label: above
Expand All @@ -288,15 +289,15 @@ content:
third_party_settings: { }
picture_url_override:
type: media_library_widget
weight: 4
weight: 6
region: content
settings:
media_types: { }
third_party_settings: { }
price_info:
type: readonly_field_widget
weight: 38
region: content
weight: 35
settings:
label: above
formatter_type: null
Expand All @@ -305,7 +306,7 @@ content:
third_party_settings: { }
provided_languages:
type: readonly_field_widget
weight: 30
weight: 32
region: content
settings:
label: above
Expand All @@ -315,7 +316,7 @@ content:
third_party_settings: { }
service_map_embed:
type: readonly_field_widget
weight: 20
weight: 25
region: content
settings:
label: above
Expand All @@ -325,7 +326,7 @@ content:
third_party_settings: { }
services:
type: readonly_field_widget
weight: 21
weight: 26
region: content
settings:
label: above
Expand All @@ -335,19 +336,44 @@ content:
third_party_settings: { }
show_www:
type: boolean_checkbox
weight: 11
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
simple_sitemap:
weight: 10
weight: 14
region: content
settings: { }
third_party_settings: { }
streetview_entrance_url:
type: readonly_field_widget
weight: 19
weight: 24
region: content
settings:
label: above
formatter_type: null
formatter_settings: { }
show_description: false
third_party_settings: { }
toc_enabled:
type: boolean_checkbox
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
toc_title:
type: string_textfield
weight: 4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
topical:
type: readonly_field_widget
weight: 34
region: content
settings:
label: above
Expand All @@ -356,21 +382,21 @@ content:
show_description: false
third_party_settings: { }
translation:
weight: 5
weight: 8
region: content
settings: { }
third_party_settings: { }
unit_picture_caption:
type: string_textarea
weight: 5
weight: 7
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
www:
type: readonly_field_widget
weight: 10
weight: 13
region: content
settings:
label: above
Expand Down
Loading

0 comments on commit 0f85666

Please sign in to comment.