Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
ISAICP-6765: Fix highlighted view modes.
Browse files Browse the repository at this point in the history
  • Loading branch information
saidatom committed Oct 22, 2021
1 parent ccdb406 commit dcf530c
Show file tree
Hide file tree
Showing 20 changed files with 543 additions and 65 deletions.
137 changes: 137 additions & 0 deletions config/sync/core.entity_view_display.node.document.highlighted.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
uuid: 5fbb7f17-0be8-4c70-8a5c-ceb806015a8f
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.highlighted
- field.field.node.document.body
- field.field.node.document.field_comments
- field.field.node.document.field_document_logo
- field.field.node.document.field_document_publication_date
- field.field.node.document.field_document_spatial_coverage
- field.field.node.document.field_file
- field.field.node.document.field_keywords
- field.field.node.document.field_licence
- field.field.node.document.field_shared_in
- field.field.node.document.field_short_title
- field.field.node.document.field_site_featured
- field.field.node.document.field_state
- field.field.node.document.field_topic
- field.field.node.document.field_type
- field.field.node.document.og_audience
- node.type.document
- responsive_image.styles.highlighted_solution
module:
- field_delimiter
- field_formatter_range
- field_group
- layout_builder
- responsive_image
- template_suggestion
- text
- user
third_party_settings:
field_group:
group_categorisation:
children:
- field_short_title
- field_type
- field_document_publication_date
- field_licence
parent_name: ''
weight: 5
format_type: html_element
format_settings:
id: ''
classes: ''
element: div
show_label: true
label_element: h3
attributes: ''
effect: none
speed: fast
label: Categorisation
region: hidden
group_attachment:
children:
- field_file
parent_name: ''
weight: 7
format_type: html_element
format_settings:
id: ''
classes: ''
element: div
show_label: true
label_element: h3
attributes: ''
effect: none
speed: fast
label: Attachment
region: hidden
layout_builder:
allow_custom: false
enabled: false
_core:
default_config_hash: IBVftmfYLkfapLokxuyLrv1me4toJj5yidZu0ixGxQM
id: node.document.highlighted
targetEntityType: node
bundle: document
mode: highlighted
content:
body:
label: hidden
type: text_trimmed
weight: 2
settings:
trim_length: 200
third_party_settings:
template_suggestion:
template_suggestion: ''
region: content
field_document_logo:
type: responsive_image
weight: 0
region: content
label: hidden
settings:
responsive_image_style: highlighted_solution
image_link: ''
third_party_settings:
template_suggestion:
template_suggestion: ''
field_topic:
type: entity_reference_label
weight: 1
region: content
label: hidden
settings:
link: true
third_party_settings:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 2
offset: 0
template_suggestion:
template_suggestion: ''
hidden:
field_comments: true
field_document_publication_date: true
field_document_spatial_coverage: true
field_file: true
field_keywords: true
field_licence: true
field_shared_in: true
field_short_title: true
field_site_featured: true
field_state: true
field_type: true
langcode: true
links: true
og_audience: true
published_at: true
read_more: true
report: true
share_link: true
59 changes: 47 additions & 12 deletions config/sync/core.entity_view_display.node.event.highlighted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ dependencies:
- field.field.node.event.field_topic
- field.field.node.event.og_audience
- node.type.event
- responsive_image.styles.highlighted_solution
module:
- joinup_core
- field_delimiter
- field_formatter_range
- layout_builder
- responsive_image
- smart_trim
- template_suggestion
- user
third_party_settings:
Expand All @@ -41,29 +45,61 @@ targetEntityType: node
bundle: event
mode: highlighted
content:
field_event_date:
body:
type: smart_trim
weight: 2
region: content
label: hidden
settings:
trim_length: 200
trim_type: chars
trim_suffix: ''
wrap_class: trimmed
more_text: More
more_class: more-link
summary_handler: full
wrap_output: false
more_link: false
trim_options:
text: false
trim_zero: false
third_party_settings:
template_suggestion:
template_suggestion: ''
field_event_logo:
type: responsive_image
weight: 0
region: content
label: hidden
settings:
timezone_override: ''
separator: to
default_format: d/m/Y
day_diff_format: d
month_diff_format: d/m
year_diff_format: d/m/Y
responsive_image_style: highlighted_solution
image_link: ''
third_party_settings:
template_suggestion:
template_suggestion: ''
type: daterange_condensed
field_topic:
type: entity_reference_label
weight: 1
region: content
label: hidden
settings:
link: true
third_party_settings:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 2
offset: 0
template_suggestion:
template_suggestion: ''
hidden:
body: true
field_attachment: true
field_comments: true
field_event_agenda: true
field_event_contact_email: true
field_event_coordinates: true
field_event_logo: true
field_event_date: true
field_event_online_location: true
field_event_spatial_coverage: true
field_event_web_url: true
Expand All @@ -76,7 +112,6 @@ hidden:
field_short_title: true
field_site_featured: true
field_state: true
field_topic: true
langcode: true
links: true
og_audience: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
uuid: c8a8b7b3-2996-4276-81e9-f8ca6a274733
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.highlighted_event
- field.field.node.event.body
- field.field.node.event.field_attachment
- field.field.node.event.field_comments
- field.field.node.event.field_event_agenda
- field.field.node.event.field_event_contact_email
- field.field.node.event.field_event_coordinates
- field.field.node.event.field_event_date
- field.field.node.event.field_event_logo
- field.field.node.event.field_event_online_location
- field.field.node.event.field_event_spatial_coverage
- field.field.node.event.field_event_web_url
- field.field.node.event.field_keywords
- field.field.node.event.field_location
- field.field.node.event.field_organisation
- field.field.node.event.field_organisation_type
- field.field.node.event.field_scope
- field.field.node.event.field_shared_in
- field.field.node.event.field_short_title
- field.field.node.event.field_site_featured
- field.field.node.event.field_state
- field.field.node.event.field_topic
- field.field.node.event.og_audience
- node.type.event
module:
- joinup_core
- layout_builder
- template_suggestion
- user
third_party_settings:
layout_builder:
allow_custom: false
enabled: false
id: node.event.highlighted_event
targetEntityType: node
bundle: event
mode: highlighted_event
content:
field_event_date:
weight: 0
label: hidden
settings:
timezone_override: ''
separator: to
default_format: d/m/Y
day_diff_format: d
month_diff_format: d/m
year_diff_format: d/m/Y
third_party_settings:
template_suggestion:
template_suggestion: ''
type: daterange_condensed
region: content
hidden:
body: true
field_attachment: true
field_comments: true
field_event_agenda: true
field_event_contact_email: true
field_event_coordinates: true
field_event_logo: true
field_event_online_location: true
field_event_spatial_coverage: true
field_event_web_url: true
field_keywords: true
field_location: true
field_organisation: true
field_organisation_type: true
field_scope: true
field_shared_in: true
field_short_title: true
field_site_featured: true
field_state: true
field_topic: true
langcode: true
links: true
og_audience: true
published_at: true
read_more: true
report: true
share_link: true
Loading

0 comments on commit dcf530c

Please sign in to comment.