Skip to content

Commit

Permalink
Merge pull request #1458 from openeuropa/EWPP-4370
Browse files Browse the repository at this point in the history
EWPP-4370: Add new field formatter and update entity view configs for…
  • Loading branch information
upchuk authored Jun 10, 2024
2 parents 2520e48 + de73b44 commit e934f2f
Show file tree
Hide file tree
Showing 13 changed files with 249 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,70 +35,67 @@ third_party_settings:
- oe_address
- oe_office
- oe_social_media
label: 'Contact information'
parent_name: ''
region: content
weight: 2
format_type: oe_theme_helper_field_list_pattern
format_settings:
variant: horizontal
classes: ''
id: ''
label: 'Contact information'
region: content
variant: horizontal
id: oe_contact.oe_general.full
targetEntityType: oe_contact
bundle: oe_general
mode: full
content:
name:
type: string
weight: 0
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
oe_address:
weight: 17
type: oe_theme_helper_address_commission
label: hidden
settings:
delimiter: ', '
settings: { }
third_party_settings: { }
type: oe_theme_helper_address_inline
weight: 17
region: content
oe_body:
type: text_default
weight: 1
region: content
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
oe_email:
weight: 13
type: email_mailto
label: hidden
settings: { }
third_party_settings: { }
type: email_mailto
weight: 13
region: content
oe_fax:
type: string
weight: 16
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 16
region: content
oe_image:
type: oe_theme_helper_featured_media_formatter
weight: 5
region: content
label: hidden
settings:
image_style: ''
third_party_settings: { }
weight: 5
region: content
oe_link:
type: link
weight: 4
region: content
label: hidden
settings:
trim_length: 80
Expand All @@ -107,42 +104,42 @@ content:
rel: ''
target: ''
third_party_settings: { }
weight: 4
region: content
oe_mobile:
type: string
weight: 15
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 15
region: content
oe_office:
type: string
weight: 18
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 18
region: content
oe_organisation:
type: string
weight: 11
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 11
region: content
oe_phone:
weight: 14
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
type: string
weight: 14
region: content
oe_press_contact_url:
type: link
weight: 3
region: content
label: hidden
settings:
trim_length: 80
Expand All @@ -151,10 +148,10 @@ content:
rel: ''
target: ''
third_party_settings: { }
weight: 3
region: content
oe_social_media:
type: oe_theme_helper_social_media_icons_list_formatter
weight: 19
region: content
label: hidden
settings:
trim_length: 80
Expand All @@ -163,10 +160,10 @@ content:
rel: nofollow
target: _blank
third_party_settings: { }
weight: 19
region: content
oe_website:
type: link
weight: 12
region: content
label: hidden
settings:
trim_length: 80
Expand All @@ -175,6 +172,8 @@ content:
rel: ''
target: ''
third_party_settings: { }
weight: 12
region: content
hidden:
created: true
langcode: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,65 +28,64 @@ third_party_settings:
- oe_email
- oe_phone
- oe_address
label: 'Contact information'
parent_name: ''
region: content
weight: 0
format_type: oe_theme_helper_field_list_pattern
format_settings:
variant: horizontal
classes: ''
id: ''
label: 'Contact information'
region: content
variant: horizontal
id: oe_contact.oe_general.oe_details
targetEntityType: oe_contact
bundle: oe_general
mode: oe_details
content:
name:
type: string
weight: 0
region: content
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
oe_address:
weight: 3
type: oe_theme_helper_address_commission
label: above
settings:
delimiter: ', '
settings: { }
third_party_settings: { }
type: oe_theme_helper_address_inline
weight: 3
region: content
oe_email:
weight: 1
type: basic_string
label: above
settings: { }
third_party_settings: { }
type: basic_string
weight: 1
region: content
oe_phone:
weight: 2
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
weight: 2
region: content
oe_social_media:
type: oe_theme_helper_social_media_links_formatter
weight: 5
region: content
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: nofollow
target: _blank
title: 'Social media'
variant: horizontal
url_only: false
url_plain: false
third_party_settings: { }
weight: 5
region: content
hidden:
created: true
langcode: true
Expand Down
Loading

0 comments on commit e934f2f

Please sign in to comment.