8000 [TwigBundle] Move template.xml loading to a compiler pass by ogizanagi · Pull Request #23186 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[TwigBundle] Move template.xml loading to a compiler pass #23186

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

Merged
merged 1 commit into from
Jun 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[TwigBundle] Remove template.xml services when templating is disabled
  • Loading branch information
ogizanagi committed Jun 15, 2017
commit 6ac0de8c2f3792a03854932eaef6906a05949042
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public function process(ContainerBuilder $container)
$twigLoader->clearTag('twig.loader');
} else {
$container->setAlias('twig.loader.filesystem', new Alias('twig.loader.native_filesystem', false));
$container->removeDefinition('templating.engine.twig');
}

if ($container->has('assets.packages')) {
Expand Down
0