Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
symfony_mailer
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
symfony_mailer
Commits
cd1054a5
Commit
cd1054a5
authored
Apr 28, 2023
by
Guillermo Simeon
Committed by
Adam Shepherd
Apr 28, 2023
Browse files
Options
Downloads
Patches
Plain Diff
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
!45
Issue #3352469: Add theme suggestion for the email-wrap.html.twig template
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
symfony_mailer.module
+7
-0
7 additions, 0 deletions
symfony_mailer.module
with
7 additions
and
0 deletions
symfony_mailer.module
+
7
−
0
View file @
cd1054a5
...
...
@@ -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().
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment