Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
symfony_mailer_lite
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
symfony_mailer_lite
Commits
943c5dcb
Commit
943c5dcb
authored
1 year ago
by
Adinan Cenci
Committed by
Wayne Eaker
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3381112
by adinancenci: Hook named swiftmailer_theme_suggestions_symfony_mailer_lite_email()
parent
9c70681a
Branches
Branches containing commit
Tags
1.0.0-rc1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
symfony_mailer_lite.module
+1
-1
1 addition, 1 deletion
symfony_mailer_lite.module
with
1 addition
and
1 deletion
symfony_mailer_lite.module
+
1
−
1
View file @
943c5dcb
...
...
@@ -24,7 +24,7 @@ function symfony_mailer_lite_theme($existing, $type, $theme, $path) {
/**
* Implements hook_theme_suggestions_HOOK() for symfony_mailer_lite_email.
*/
function
s
wift
mailer_theme_suggestions_symfony_mailer_lite_email
(
array
$variables
)
{
function
s
ymfony_
mailer_
lite_
theme_suggestions_symfony_mailer_lite_email
(
array
$variables
)
{
$suggestions
=
[];
$suggestions
[]
=
'symfony_mailer_lite_email__'
.
$variables
[
'message'
][
'module'
];
$suggestions
[]
=
'symfony_mailer_lite_email__'
.
$variables
[
'message'
][
'module'
]
.
'__'
.
strtr
(
$variables
[
'message'
][
'key'
],
'-'
,
'_'
);
...
...
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