Skip to content

Commit 3938b0a

Browse files
kylekatarnlsjaviereguiluz
authored andcommitted
Mention twig/extensions is not for Twig 3
As twig/extensions is obsolete according to: twigphp/Twig-extensions#258 And not compatible with Twig 3, let prevent developers for running a dead end command.
1 parent f31786a commit 3938b0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templating/twig_extension.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Before writing your own Twig extension, check if the filter/function that you
1111
need is already implemented in the `default Twig filters and functions`_ or the
1212
:doc:`Twig filters and functions added by Symfony </reference/twig_reference>`.
1313
Check also the `official Twig extensions`_, which add commonly needed filters
14-
and functions and can be installed in your application as follows:
14+
and functions and can be installed in your application as follows (only needed
15+
if you're using Twig 1 or 2):
1516

1617
.. code-block:: terminal
1718

0 commit comments

Comments
 (0)