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
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

  • jrockowitz committed 3db76b6 on 2932607-email-twig-support
    Issue #2932607: Add Twig support to email body. Add twig setting to...
  • jrockowitz committed 6c9a395 on 2932607-email-twig-support
    Issue #2932607: Add Twig support to email body
    
jrockowitz’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
62.19 KB

  • jrockowitz committed f3a23e8 on 2932607-email-twig-support
    Issue #2932607: Add Twig support to email body
    
jrockowitz’s picture

  • jrockowitz committed 8546d26 on 8.x-5.x
    Issue #2932607 by jrockowitz: Add Twig support to email body
    
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.