Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,63 +6,52 @@ dependencies:
- field.field.paragraph.contact_card.field_contact_description
- field.field.paragraph.contact_card.field_contact_image
- field.field.paragraph.contact_card.field_contact_image_photographer
- field.field.paragraph.contact_card.field_contact_image_reference
- field.field.paragraph.contact_card.field_contact_name
- field.field.paragraph.contact_card.field_contact_social_media
- field.field.paragraph.contact_card.field_contact_social_media_link
- field.field.paragraph.contact_card.field_contact_title
- field.field.paragraph.contact_card.field_email
- field.field.paragraph.contact_card.field_phone_number
- image.style.thumbnail
- paragraphs.paragraphs_type.contact_card
module:
- focal_point
- link
- media_library
- paragraphs
- telephone
_core:
default_config_hash: YDSv_lQM9OkDPrZy_gI0k4dUlKswEjQX8YV-v17cgQ8
default_config_hash: 9GMOG_QIuNk11PXYGJk8symwR8u84uGQZlRFHhgclTk
id: paragraph.contact_card.default
targetEntityType: paragraph
bundle: contact_card
mode: default
content:
field_contact_description:
type: string_textarea
weight: 6
weight: 5
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_contact_image:
type: image_focal_point
field_contact_image_reference:
type: media_library_widget
weight: 0
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
preview_link: true
offsets: '50,50'
third_party_settings: { }
field_contact_image_photographer:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
media_types: { }
third_party_settings: { }
field_contact_name:
type: string_textfield
weight: 2
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_contact_social_media:
type: paragraphs
weight: 7
weight: 6
region: content
settings:
title: Paragraph
Expand All @@ -80,35 +69,37 @@ content:
third_party_settings: { }
field_contact_social_media_link:
type: link_default
weight: 8
weight: 7
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_contact_title:
type: string_textfield
weight: 3
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_email:
type: email_default
weight: 4
weight: 3
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
field_phone_number:
type: telephone_default
weight: 5
weight: 4
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden:
created: true
field_contact_image: true
field_contact_image_photographer: true
status: true
38 changes: 38 additions & 0 deletions conf/cmi/core.entity_view_display.media.image.square_thumbnail.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
uuid: 0d32e090-076b-4aea-9319-7e5b572b993f
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.square_thumbnail
- field.field.media.image.field_media_image
- field.field.media.image.field_photographer
- media.type.image
- responsive_image.styles.square_thumbnail
module:
- responsive_image
_core:
default_config_hash: RsZm5zJoAdk_YebwlWNiBP7_oW9gYi6X-scuL71o2hU
id: media.image.square_thumbnail
targetEntityType: media
bundle: image
mode: square_thumbnail
content:
field_media_image:
type: responsive_image
label: hidden
settings:
responsive_image_style: square_thumbnail
image_link: ''
image_loading:
attribute: eager
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_photographer: true
langcode: true
name: true
search_api_excerpt: true
thumbnail: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ dependencies:
- field.field.paragraph.contact_card.field_contact_description
- field.field.paragraph.contact_card.field_contact_image
- field.field.paragraph.contact_card.field_contact_image_photographer
- field.field.paragraph.contact_card.field_contact_image_reference
- field.field.paragraph.contact_card.field_contact_name
- field.field.paragraph.contact_card.field_contact_social_media
- field.field.paragraph.contact_card.field_contact_social_media_link
- field.field.paragraph.contact_card.field_contact_title
- field.field.paragraph.contact_card.field_email
- field.field.paragraph.contact_card.field_phone_number
- paragraphs.paragraphs_type.contact_card
- responsive_image.styles.contact_card
- responsive_image.styles.square_thumbnail
module:
- entity_reference_revisions
- helfi_paragraphs_contact_card_listing
- helfi_platform_config
- responsive_image
- telephone
_core:
default_config_hash: g7mshBIsAGSEoG6m0KX2GLEN58sv4MnWAEXk68dClQ8
default_config_hash: o3L_0VvwTNVLSBxb2Oqb8lmF6DAt6aBFZsubJMhB4Ro
id: paragraph.contact_card.default
targetEntityType: paragraph
bundle: contact_card
Expand All @@ -38,7 +39,7 @@ content:
type: responsive_image
label: hidden
settings:
responsive_image_style: contact_card
responsive_image_style: square_thumbnail
image_link: ''
image_loading:
attribute: eager
Expand All @@ -53,6 +54,15 @@ content:
third_party_settings: { }
weight: 7
region: content
field_contact_image_reference:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: square_thumbnail
link: false
third_party_settings: { }
weight: 8
region: content
field_contact_name:
type: string
label: hidden
Expand Down
13 changes: 13 additions & 0 deletions conf/cmi/core.entity_view_mode.media.square_thumbnail.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 2230c2a0-8d52-4106-b17f-b0d571ef449e
langcode: en
status: true
dependencies:
module:
- media
_core:
default_config_hash: rPsJ5Ec4QDJMHnhUR-cbm0ob-Czf3pezHYMRqvfsxhs
id: media.square_thumbnail
label: 'Square thumbnail'
description: ''
targetEntityType: media
cache: true
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ dependencies:
module:
- image
_core:
default_config_hash: OwkKC_jXvLDFDw1_kbW7VDJmW4Y5tKbQlyx1NsWhczQ
default_config_hash: z7o3DViDIVEV8koDILWo4zFKtBOfeJjRD8Tp7D3rdLQ
id: paragraph.contact_card.field_contact_image
field_name: field_contact_image
entity_type: paragraph
bundle: contact_card
label: Image
label: 'DEPRECATED Image'
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.'
required: false
translatable: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
uuid: e3388822-df3f-48b3-91ff-22a054752779
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_contact_image_reference
- media.type.image
- paragraphs.paragraphs_type.contact_card
_core:
default_config_hash: EEQkH4zH78mSzLWclQGhspMbw-MkvrSnB0fV0FdUZeM
id: paragraph.contact_card.field_contact_image_reference
field_name: field_contact_image_reference
entity_type: paragraph
bundle: contact_card
label: 'Contact image'
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.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:media'
handler_settings:
target_bundles:
image: image
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
22 changes: 22 additions & 0 deletions conf/cmi/field.storage.paragraph.field_contact_image_reference.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: bf481f31-99eb-479a-8ef0-5a15b06d4ae0
langcode: en
status: true
dependencies:
module:
- media
- paragraphs
_core:
default_config_hash: VXOPtoCLD607Y8tIEd6kwhF0UA-P394wPNsafhJJ5wc
id: paragraph.field_contact_image_reference
field_name: field_contact_image_reference
entity_type: paragraph
type: entity_reference
settings:
target_type: media
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Loading