Skip to content

Commit 86c94d9

Browse files
authored
Merge pull request #552 from City-of-Helsinki/update-configuration
Automatic update
2 parents efa92eb + 6226dc4 commit 86c94d9

15 files changed

Lines changed: 254 additions & 112 deletions

composer.lock

Lines changed: 79 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conf/cmi/core.entity_form_display.paragraph.contact_card.default.yml

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,63 +6,52 @@ dependencies:
66
- field.field.paragraph.contact_card.field_contact_description
77
- field.field.paragraph.contact_card.field_contact_image
88
- field.field.paragraph.contact_card.field_contact_image_photographer
9+
- field.field.paragraph.contact_card.field_contact_image_reference
910
- field.field.paragraph.contact_card.field_contact_name
1011
- field.field.paragraph.contact_card.field_contact_social_media
1112
- field.field.paragraph.contact_card.field_contact_social_media_link
1213
- field.field.paragraph.contact_card.field_contact_title
1314
- field.field.paragraph.contact_card.field_email
1415
- field.field.paragraph.contact_card.field_phone_number
15-
- image.style.thumbnail
1616
- paragraphs.paragraphs_type.contact_card
1717
module:
18-
- focal_point
1918
- link
19+
- media_library
2020
- paragraphs
2121
- telephone
2222
_core:
23-
default_config_hash: YDSv_lQM9OkDPrZy_gI0k4dUlKswEjQX8YV-v17cgQ8
23+
default_config_hash: 9GMOG_QIuNk11PXYGJk8symwR8u84uGQZlRFHhgclTk
2424
id: paragraph.contact_card.default
2525
targetEntityType: paragraph
2626
bundle: contact_card
2727
mode: default
2828
content:
2929
field_contact_description:
3030
type: string_textarea
31-
weight: 6
31+
weight: 5
3232
region: content
3333
settings:
3434
rows: 5
3535
placeholder: ''
3636
third_party_settings: { }
37-
field_contact_image:
38-
type: image_focal_point
37+
field_contact_image_reference:
38+
type: media_library_widget
3939
weight: 0
4040
region: content
4141
settings:
42-
progress_indicator: throbber
43-
preview_image_style: thumbnail
44-
preview_link: true
45-
offsets: '50,50'
46-
third_party_settings: { }
47-
field_contact_image_photographer:
48-
type: string_textfield
49-
weight: 1
50-
region: content
51-
settings:
52-
size: 60
53-
placeholder: ''
42+
media_types: { }
5443
third_party_settings: { }
5544
field_contact_name:
5645
type: string_textfield
57-
weight: 2
46+
weight: 1
5847
region: content
5948
settings:
6049
size: 60
6150
placeholder: ''
6251
third_party_settings: { }
6352
field_contact_social_media:
6453
type: paragraphs
65-
weight: 7
54+
weight: 6
6655
region: content
6756
settings:
6857
title: Paragraph
@@ -80,35 +69,37 @@ content:
8069
third_party_settings: { }
8170
field_contact_social_media_link:
8271
type: link_default
83-
weight: 8
72+
weight: 7
8473
region: content
8574
settings:
8675
placeholder_url: ''
8776
placeholder_title: ''
8877
third_party_settings: { }
8978
field_contact_title:
9079
type: string_textfield
91-
weight: 3
80+
weight: 2
9281
region: content
9382
settings:
9483
size: 60
9584
placeholder: ''
9685
third_party_settings: { }
9786
field_email:
9887
type: email_default
99-
weight: 4
88+
weight: 3
10089
region: content
10190
settings:
10291
placeholder: ''
10392
size: 60
10493
third_party_settings: { }
10594
field_phone_number:
10695
type: telephone_default
107-
weight: 5
96+
weight: 4
10897
region: content
10998
settings:
11099
placeholder: ''
111100
third_party_settings: { }
112101
hidden:
113102
created: true
103+
field_contact_image: true
104+
field_contact_image_photographer: true
114105
status: true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
uuid: 0d32e090-076b-4aea-9319-7e5b572b993f
2+
langcode: en
3+
status: true
4+
dependencies:
5+
config:
6+
- core.entity_view_mode.media.square_thumbnail
7+
- field.field.media.image.field_media_image
8+
- field.field.media.image.field_photographer
9+
- media.type.image
10+
- responsive_image.styles.square_thumbnail
11+
module:
12+
- responsive_image
13+
_core:
14+
default_config_hash: RsZm5zJoAdk_YebwlWNiBP7_oW9gYi6X-scuL71o2hU
15+
id: media.image.square_thumbnail
16+
targetEntityType: media
17+
bundle: image
18+
mode: square_thumbnail
19+
content:
20+
field_media_image:
21+
type: responsive_image
22+
label: hidden
23+
settings:
24+
responsive_image_style: square_thumbnail
25+
image_link: ''
26+
image_loading:
27+
attribute: eager
28+
third_party_settings: { }
29+
weight: 0
30+
region: content
31+
hidden:
32+
created: true
33+
field_photographer: true
34+
langcode: true
35+
name: true
36+
search_api_excerpt: true
37+
thumbnail: true
38+
uid: true

conf/cmi/core.entity_view_display.paragraph.contact_card.default.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,23 @@ dependencies:
66
- field.field.paragraph.contact_card.field_contact_description
77
- field.field.paragraph.contact_card.field_contact_image
88
- field.field.paragraph.contact_card.field_contact_image_photographer
9+
- field.field.paragraph.contact_card.field_contact_image_reference
910
- field.field.paragraph.contact_card.field_contact_name
1011
- field.field.paragraph.contact_card.field_contact_social_media
1112
- field.field.paragraph.contact_card.field_contact_social_media_link
1213
- field.field.paragraph.contact_card.field_contact_title
1314
- field.field.paragraph.contact_card.field_email
1415
- field.field.paragraph.contact_card.field_phone_number
1516
- paragraphs.paragraphs_type.contact_card
16-
- responsive_image.styles.contact_card
17+
- responsive_image.styles.square_thumbnail
1718
module:
1819
- entity_reference_revisions
1920
- helfi_paragraphs_contact_card_listing
2021
- helfi_platform_config
2122
- responsive_image
2223
- telephone
2324
_core:
24-
default_config_hash: g7mshBIsAGSEoG6m0KX2GLEN58sv4MnWAEXk68dClQ8
25+
default_config_hash: o3L_0VvwTNVLSBxb2Oqb8lmF6DAt6aBFZsubJMhB4Ro
2526
id: paragraph.contact_card.default
2627
targetEntityType: paragraph
2728
bundle: contact_card
@@ -38,7 +39,7 @@ content:
3839
type: responsive_image
3940
label: hidden
4041
settings:
41-
responsive_image_style: contact_card
42+
responsive_image_style: square_thumbnail
4243
image_link: ''
4344
image_loading:
4445
attribute: eager
@@ -53,6 +54,15 @@ content:
5354
third_party_settings: { }
5455
weight: 7
5556
region: content
57+
field_contact_image_reference:
58+
type: entity_reference_entity_view
59+
label: hidden
60+
settings:
61+
view_mode: square_thumbnail
62+
link: false
63+
third_party_settings: { }
64+
weight: 8
65+
region: content
5666
field_contact_name:
5767
type: string
5868
label: hidden
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
uuid: 2230c2a0-8d52-4106-b17f-b0d571ef449e
2+
langcode: en
3+
status: true
4+
dependencies:
5+
module:
6+
- media
7+
_core:
8+
default_config_hash: rPsJ5Ec4QDJMHnhUR-cbm0ob-Czf3pezHYMRqvfsxhs
9+
id: media.square_thumbnail
10+
label: 'Square thumbnail'
11+
description: ''
12+
targetEntityType: media
13+
cache: true

conf/cmi/field.field.paragraph.contact_card.field_contact_image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ dependencies:
88
module:
99
- image
1010
_core:
11-
default_config_hash: OwkKC_jXvLDFDw1_kbW7VDJmW4Y5tKbQlyx1NsWhczQ
11+
default_config_hash: z7o3DViDIVEV8koDILWo4zFKtBOfeJjRD8Tp7D3rdLQ
1212
id: paragraph.contact_card.field_contact_image
1313
field_name: field_contact_image
1414
entity_type: paragraph
1515
bundle: contact_card
16-
label: Image
16+
label: 'DEPRECATED Image'
1717
description: 'Use a square image for the best result. Portrait and landscape images will be cropped to a square, the focal point can be selected with the image upload.'
1818
required: false
1919
translatable: false
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
uuid: e3388822-df3f-48b3-91ff-22a054752779
2+
langcode: en
3+
status: true
4+
dependencies:
5+
config:
6+
- field.storage.paragraph.field_contact_image_reference
7+
- media.type.image
8+
- paragraphs.paragraphs_type.contact_card
9+
_core:
10+
default_config_hash: EEQkH4zH78mSzLWclQGhspMbw-MkvrSnB0fV0FdUZeM
11+
id: paragraph.contact_card.field_contact_image_reference
12+
field_name: field_contact_image_reference
13+
entity_type: paragraph
14+
bundle: contact_card
15+
label: 'Contact image'
16+
description: 'Use a square image for the best result. Portrait and landscape images will be cropped to a square, the focal point can be selected with the image upload.'
17+
required: false
18+
translatable: false
19+
default_value: { }
20+
default_value_callback: ''
21+
settings:
22+
handler: 'default:media'
23+
handler_settings:
24+
target_bundles:
25+
image: image
26+
sort:
27+
field: _none
28+
direction: ASC
29+
auto_create: false
30+
auto_create_bundle: ''
31+
field_type: entity_reference
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
uuid: bf481f31-99eb-479a-8ef0-5a15b06d4ae0
2+
langcode: en
3+
status: true
4+
dependencies:
5+
module:
6+
- media
7+
- paragraphs
8+
_core:
9+
default_config_hash: VXOPtoCLD607Y8tIEd6kwhF0UA-P394wPNsafhJJ5wc
10+
id: paragraph.field_contact_image_reference
11+
field_name: field_contact_image_reference
12+
entity_type: paragraph
13+
type: entity_reference
14+
settings:
15+
target_type: media
16+
module: core
17+
locked: false
18+
cardinality: 1
19+
translatable: true
20+
indexes: { }
21+
persist_with_no_fields: false
22+
custom_storage: false

conf/cmi/field.storage.paragraph.field_email.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ dependencies:
55
module:
66
- paragraphs
77
_core:
8-
default_config_hash: 76XUNX8CNC1fRG7IdYnWrq_0iMEDAaTYC7d-ruvQS9w
8+
default_config_hash: OrsbTLUgyO-Kgr1QPjJ_8KPoLkOnhAtzXOtKANOOZ0A
99
id: paragraph.field_email
1010
field_name: field_email
1111
entity_type: paragraph
1212
type: email
1313
settings: { }
1414
module: core
1515
locked: false
16-
cardinality: 1
16+
cardinality: -1
1717
translatable: true
1818
indexes: { }
1919
persist_with_no_fields: false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
label: Kuva
2+
description: 'Vaaka- ja pystykuvat rajataan neliöiksi. Rajatun kuvan keskipisteen voi valita kuvan latauksen yhteydessä. '

0 commit comments

Comments
 (0)