Skip to content

Mention twig/extensions is not for Twig 3 #12737

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
Dec 9, 2019
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
3 changes: 2 additions & 1 deletion templating/twig_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Before writing your own Twig extension, check if the filter/function that you
need is already implemented in the `default Twig filters and functions`_ or the
:doc:`Twig filters and functions added by Symfony </reference/twig_reference>`.
Check also the `official Twig extensions`_, which add commonly needed filters
and functions and can be installed in your application as follows:
and functions and can be installed in your application as follows (only needed
if you're using Twig 1 or 2):

.. code-block:: terminal

Expand Down