- πΊπΈUnited States JonMcL Brooklyn, NY
I am curious if anyone has tried to tackle a token handler that might work like this:
$message->addContext('salutation', 'Greetings ' . $name);
And then in the message template could be a token like:
[message:contexts:salutation]
- Assigned to Tyapchyc
- Status changed to Active
5 months ago 10:45am 13 June 2024 - Merge request !38Issue #2981259 by freality: Allow additional token data to be added to message β (Open) created by Tyapchyc
- Issue was unassigned.
- Status changed to Needs review
5 months ago 1:08pm 13 June 2024 - π¨π¦Canada joseph.olstad
Automated tests could likely be added to tests/src/Functional/MessageTemplateUiTest.php
- πΊπ¦Ukraine Tyapchyc
@amitaibu
I changed the field context name.
Tests added in tests/src/Kernel/MessageTest.php