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": "9b4c39a3-702f-486c-a79b-4d7b96a4f3f6"
}
],
"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:09:58+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": "Drupal 7 EOL"
}
],
"created": [
{
"value": "2025-06-13T22:08:54+00:00"
}
],
"changed": [
{
"value": "2025-06-13T22:09:58+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 stuck on Drupal 7? <a href=\"\/drupal-upgrade\">Plan your upgrade to Drupal 10 now!<\/a><\/p>",
"format": "basic_html",
"processed": "<p>P.S. Are you stuck on Drupal 7? <a href=\"http:\/\/localhost:8888\/drupal-upgrade\">Plan your upgrade to Drupal 10 now!<\/a><\/p>",
"summary": ""
}
]
}