Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b957f44

Browse filesBrowse files
committed
[TwigBundle] removed deprecated ActionsExtension
1 parent 5e017e5 commit b957f44
Copy full SHA for b957f44

File tree

Expand file treeCollapse file tree

6 files changed

+0
-253
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+0
-253
lines changed

‎src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ public function process(ContainerBuilder $container)
2727
$container->getDefinition('twig.loader.filesystem')->addMethodCall('addPath', array(dirname(dirname($reflClass->getFileName())).'/Resources/views/Form'));
2828
}
2929

30-
if ($container->has('fragment.handler')) {
31-
$container->getDefinition('twig.extension.actions')->addTag('twig.extension');
32-
}
33-
3430
if ($container->has('translator')) {
3531
$container->getDefinition('twig.extension.trans')->addTag('twig.extension');
3632
}

‎src/Symfony/Bundle/TwigBundle/Extension/ActionsExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Extension/ActionsExtension.php
-82Lines changed: 0 additions & 82 deletions
This file was deleted.

‎src/Symfony/Bundle/TwigBundle/Node/RenderNode.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Node/RenderNode.php
-44Lines changed: 0 additions & 44 deletions
This file was deleted.

‎src/Symfony/Bundle/TwigBundle/Resources/config/twig.xml

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Resources/config/twig.xml
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<parameter key="twig.cache_warmer.class">Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer</parameter>
1313
<parameter key="twig.extension.trans.class">Symfony\Bridge\Twig\Extension\TranslationExtension</parameter>
1414
<parameter key="twig.extension.assets.class">Symfony\Bundle\TwigBundle\Extension\AssetsExtension</parameter>
15-
<parameter key="twig.extension.actions.class">Symfony\Bundle\TwigBundle\Extension\ActionsExtension</parameter>
1615
<parameter key="twig.extension.code.class">Symfony\Bridge\Twig\Extension\CodeExtension</parameter>
1716
<parameter key="twig.extension.routing.class">Symfony\Bridge\Twig\Extension\RoutingExtension</parameter>
1817
<parameter key="twig.extension.yaml.class">Symfony\Bridge\Twig\Extension\YamlExtension</parameter>
@@ -70,10 +69,6 @@
7069
<argument type="service" id="router.request_context" on-invalid="null" />
7170
</service>
7271

73-
<service id="twig.extension.actions" class="%twig.extension.actions.class%" public="false">
74-
<argument type="service" id="fragment.handler" />
75-
</service>
76-
7772
<service id="twig.extension.code" class="%twig.extension.code.class%" public="false">
7873
<tag name="twig.extension" />
7974
<argument>%templating.helper.code.file_link_format%</argument>

‎src/Symfony/Bundle/TwigBundle/Tests/TokenParser/RenderTokenParserTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Tests/TokenParser/RenderTokenParserTest.php
-59Lines changed: 0 additions & 59 deletions
This file was deleted.

‎src/Symfony/Bundle/TwigBundle/TokenParser/RenderTokenParser.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/TokenParser/RenderTokenParser.php
-59Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.