postoffice-1.0.x-dev/extensions/postoffice_compat/templates/postoffice-compat-email-user.html.twig
extensions/postoffice_compat/templates/postoffice-compat-email-user.html.twig
{#
/**
* @file
* Default theme implementation for messages generated by the core user module.
*
* Instead of overriding the theming for all user mails, you can also just
* override theming for specific messages (e.g., password reset) and locales
* using @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a user email:
* - postoffice-compat-email-user--password-reset--en.html.twig
* - postoffice-compat-email-user--password-reset.html.twig
* - postoffice-compat-email-user--en.html.twig
* - postoffice-compat-email-user.html.twig
*
* Available variables:
* - body: The HTML body for this message.
* - email: The email object. The UserEmailInterface and SiteEmailInterface
* determine what data is available to twig through this variable.
* - langcode: The language code.
*
* @see \Drupal\postoffice\Email\SiteEmailInterface
* @see \Drupal\postoffice_compat\Email\UserEmailInterface
*
* @ingroup themeable
*/
#}
{% embed 'postoffice-compat-email-body-notification.html.twig' %}
{% block content %}
{{ body }}
{% endblock %}
{% endembed %}
