Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
Generated emails should support conditional logic, advanced formatting, and embedded styles.
Solution
Allow users to use Twig to generate HTML and plain text email message.
Tasks
- Add 'twig' boolean to email handler settings
- Update email handler scheme
- Update email handler configuration form
- Update generated email to use twig.
- Update scheduled email handler.
- Add permission to edit Twig template.
- Possibly update twig help functions to support advanced formatting.
- Write tests
Comment | File | Size | Author |
---|---|---|---|
#5 | 2932607-email-twig-support-5.patch | 66.38 KB | jrockowitz |
| |||
#3 | 2932607-email-twig-support-3.patch | 62.19 KB | jrockowitz |
|
Comments
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented