I've read through numerous issues here yet other patches try to expose registration data, yet I suppose I want it the other way around (expose host entity information).
Specifics:
When someone registers for an node of a content type I created I'm able to display the node (host entity) title and url using [registration:entity:title] and [registration:entity:url]. Oddly enough these tokens are not listed in the token list, yet they seem to work (in the email at least).
So I assumed any other field would also work, but they don't. For my specific use case:
OR) Is there a way to get tokens for other host entity node fields of my node to display in an email when a registration happens?
OR) Is there an alternative way to mail the host entity node content to the user which registered?
OR) Is there a way to use the host entity node title and/or URL to somehow fetch the node and load these fields? I'm thinking components / relationships or whatnot.
I'll keep trying to get this thing to work and post when I find something, yet if someone can help me look into this that would be awesome.
Comments
Comment #2
TTNT CreditAttribution: TTNT commentedAnd the solution was as simple as can be:
Rules: fetch entity by ID: 'registration:entity-id'
Maybe this can go in the documentation? I can imagine this is essential for a lot of users.