Prepare templatesΒΆ
Plugin ID: push_framework_channel:prepare_templates
Provided tokens
| Token | Description |
|---|---|
[user] |
The current user. Alias: current_user |
[event] |
The event. |
[event:machine_name] |
The machine name of the ECA event. |
[session_user] |
The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
Fires once before the language loop when Push Framework prepares notification templates. Use this to alter the display mode, subject, body, text format, or HTML flag before any language-specific rendering begins.
The [push_notification:subject], [push_notification:body], [push_notification:text_format], and [push_notification:is_html] tokens are available alongside the base tokens (channel, recipient, entity, title, display_mode).