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.
This commit is contained in:
Oliver Davies 2025-06-13 11:14:11 +01:00
parent 76868079ac
commit 2d55ea78f1
24 changed files with 1058 additions and 3 deletions

View file

@ -0,0 +1,92 @@
{
"uuid": [
{
"value": "3074e1e9-c691-4f73-a71c-cfe5920f884e"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email_cta",
"target_type": "node_type",
"target_uuid": "aafaaf8f-2670-4202-bc20-2bc31312859b"
}
],
"revision_timestamp": [
{
"value": "2025-06-13T22:10:23+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "Call"
}
],
"created": [
{
"value": "2025-06-13T22:07:32+00:00"
}
],
"changed": [
{
"value": "2025-06-13T22:10:23+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "",
"pid": null,
"langcode": "en"
}
],
"body": [
{
"value": "<p>P.S. Are you still using Drupal 7 and don\u2019t know what\u2019s involved to upgrade to Drupal 10? <a href=\"\/call\">Book a Drupal 7 upgrade consultation call<\/a> or <a href=\"\/drupal-upgrade\">an upgrade roadmap<\/a>.<\/p>",
"format": "basic_html",
"processed": "<p>P.S. Are you still using Drupal 7 and don\u2019t know what\u2019s involved to upgrade to Drupal 10? <a href=\"http:\/\/localhost:8888\/call\">Book a Drupal 7 upgrade consultation call<\/a> or <a href=\"http:\/\/localhost:8888\/drupal-upgrade\">an upgrade roadmap<\/a>.<\/p>",
"summary": ""
}
]
}