-
Notifications
You must be signed in to change notification settings - Fork 49
Description
I've got a message that has a field for entity references to other messages.
I'm using message notify to send out this message as an email. In the email no message entity is rendered. I have it set to render as "Email Body".
I know that the references are actually set because using tokens I can see that these messages are present. I can also send the referenced messages as an email and they render just fine.
When debugging I saw that the render array returned from the view builder only had a #cache element.
I'm still relatively new to Drupal and was unable to find out what was wrong. For now I've gotten around this by adding a check in my custom notifier that will go through each referenced entity and render them and then concat them together. I'd love to figure out how to get this working the intended way.