{# /** * @file * Default theme implementation for Symfony Email wrapper. * * Variables: * - body: Email body content. * - is_html: True if generating HTML output, false for plain text. * - subject: Email subject. * - type: Email type. * - sub_type: Email sub-type. * - attributes: HTML attributes for the top-level email element. * * @see template_preprocess_email_wrap() * * @ingroup themeable */ #} {% set classes = [ 'email-type-' ~ type|clean_class, 'email-sub-type-' ~ sub_type|clean_class, ] %} {% if is_html %}
{{ body }}
{% else %} {{ body }} {% endif %}