New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass mauticTemplateVars to twig templates #13257
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 5.0 #13257 +/- ##
============================================
- Coverage 58.60% 58.60% -0.01%
Complexity 32985 32985
============================================
Files 2183 2183
Lines 98756 98755 -1
============================================
- Hits 57877 57875 -2
- Misses 40879 40880 +1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, changes are correct
@mollux , please consider adding this to version 5.0.3. It blocks third-party plugins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no issue here 👍
Description:
Follow up of #12924
Seems like customContent twig function does not work because pass not existed mauticTemplateVars.
This PR inject mauticTemplateVars to twig templates, similar like we did in M4
Steps to test this PR: