oliverdavies.uk/config/sync/core.entity_view_display.node.daily_email.teaser.yml
Oliver Davies 2d55ea78f1 Add CTAs to daily emails
Add a daily email CTA node type and reference field to attach a CTA to a
daily email.

Also update the RSS feed view to include the referenced body field
value.
2025-06-14 00:18:52 +01:00

28 lines
597 B
YAML

uuid: 52b4959b-3ab7-4cb4-97c7-4ecb707bde2f
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.daily_email.body
- field.field.node.daily_email.field_daily_email_cta
- node.type.daily_email
module:
- text
- user
id: node.daily_email.teaser
targetEntityType: node
bundle: daily_email
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 0
region: content
hidden:
field_daily_email_cta: true
links: true