Skip to content

Commit

Permalink
D8CORE-7436 | configure teaser and search index display
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahongsf committed Sep 18, 2024
1 parent 427ec3f commit 03de4be
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_type
- node.type.stanford_opportunity
module:
- datetime
- layout_builder
- layout_builder_restrictions
- layout_library
- layout_paragraphs
- text
- user
third_party_settings:
Expand All @@ -52,42 +52,63 @@ targetEntityType: node
bundle: stanford_opportunity
mode: search_indexing
content:
body:
su_opp_application_deadline:
type: datetime_default
label: inline
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 1
region: content
su_opp_image:
type: entity_reference_label
label: hidden
settings:
link: true
third_party_settings: { }
weight: 0
region: content
su_opp_sponsor:
type: entity_reference_label
label: hidden
settings:
link: true
third_party_settings: { }
weight: 2
region: content
su_opp_summary:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
weight: 3
region: content
su_opp_components:
type: layout_paragraphs
su_opp_type:
type: entity_reference_label
label: hidden
settings:
view_mode: default
link: ''
link: true
third_party_settings: { }
weight: 1
weight: 4
region: content
hidden:
body: true
layout_builder__layout: true
links: true
search_api_excerpt: true
su_opp_application_deadline: true
su_opp_components: true
su_opp_contact_email: true
su_opp_contact_name: true
su_opp_contact_phone: true
su_opp_contact_url: true
su_opp_course_code: true
su_opp_cta_url: true
su_opp_eligibility: true
su_opp_image: true
su_opp_learn_more: true
su_opp_open_date: true
su_opp_prerequisites: true
su_opp_source: true
su_opp_sponsor: true
su_opp_start_date: true
su_opp_status: true
su_opp_summary: true
su_opp_tags: true
su_opp_type: true
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,59 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_type
- node.type.stanford_opportunity
module:
- datetime
- text
- user
id: node.stanford_opportunity.teaser
targetEntityType: node
bundle: stanford_opportunity
mode: teaser
content:
body:
type: text_summary_or_trimmed
su_opp_application_deadline:
type: datetime_default
label: inline
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 1
region: content
su_opp_image:
type: entity_reference_label
label: hidden
settings:
trim_length: 600
link: true
third_party_settings: { }
weight: 0
region: content
su_opp_sponsor:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 101
weight: 2
region: content
links:
su_opp_summary:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 100
weight: 3
region: content
su_opp_type:
type: entity_reference_label
label: hidden
settings:
link: true
third_party_settings: { }
weight: 4
region: content
hidden:
body: true
layout_builder__layout: true
links: true
search_api_excerpt: true
su_opp_application_deadline: true
su_opp_components: true
su_opp_contact_email: true
su_opp_contact_name: true
Expand All @@ -60,14 +89,10 @@ hidden:
su_opp_course_code: true
su_opp_cta_url: true
su_opp_eligibility: true
su_opp_image: true
su_opp_learn_more: true
su_opp_open_date: true
su_opp_prerequisites: true
su_opp_source: true
su_opp_sponsor: true
su_opp_start_date: true
su_opp_status: true
su_opp_summary: true
su_opp_tags: true
su_opp_type: true

0 comments on commit 03de4be

Please sign in to comment.