Skip to content
Snippets Groups Projects
Commit cd1054a5 authored by Guillermo Simeon's avatar Guillermo Simeon Committed by Adam Shepherd
Browse files

Issue #3352469 by simgui8: Add theme suggestion for the email-wrap.html.twig template

parent 8f8f6455
No related branches found
No related tags found
1 merge request!45Issue #3352469: Add theme suggestion for the email-wrap.html.twig template
......@@ -39,6 +39,13 @@ function symfony_mailer_theme_suggestions_email(array $variables) {
return array_slice($variables['email']->getSuggestions('email', '__'), 1);
}
/**
* Implements hook_theme_suggestions_HOOK() for email_wrap.
*/
function symfony_mailer_theme_suggestions_email_wrap(array $variables) {
return array_slice($variables['email']->getSuggestions('email_wrap', '__'), 1);
}
/**
* Implements hook_mailer_builder_info_alter().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment