bug #31458 [TwigBundle] Fix Mailer integration in Twig (fabpot)
This PR was merged into the 4.3 branch.
Discussion
----------
[TwigBundle] Fix Mailer integration in Twig
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | #31449
| License | MIT
| Doc PR | n/a
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.
Additionally (see https://symfony.com/roadmap):
- Bug fixes must be submitted against the lowest maintained branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too).
- Features and deprecations must be submitted against the master branch.
-->
Commits
-------
53b68afec4
[TwigBundle] fixed Mailer integration in Twig
This commit is contained in:
commit
ae38ed80e2
@ -6,8 +6,9 @@
|
|||||||
|
|
||||||
<services>
|
<services>
|
||||||
<service id="twig.mailer.message_listener" class="Symfony\Component\Mailer\EventListener\MessageListener">
|
<service id="twig.mailer.message_listener" class="Symfony\Component\Mailer\EventListener\MessageListener">
|
||||||
<argument />
|
<argument>null</argument>
|
||||||
<argument type="service" id="twig.mime_body_renderer" />
|
<argument type="service" id="twig.mime_body_renderer" />
|
||||||
|
<tag name="kernel.event_subscriber"/>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service id="twig.mime_body_renderer" class="Symfony\Bridge\Twig\Mime\BodyRenderer">
|
<service id="twig.mime_body_renderer" class="Symfony\Bridge\Twig\Mime\BodyRenderer">
|
||||||
|
Reference in New Issue
Block a user