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 03a612b

Browse filesBrowse files
committed
Merge branch '4.3' into 4.4
* 4.3: Mention twig/extensions is not for Twig 3
2 parents f65a4ed + 700db0a commit 03a612b
Copy full SHA for 03a612b

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎templating/twig_extension.rst

Copy file name to clipboardExpand all lines: templating/twig_extension.rst
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ use them in your templates.
1010
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>`.
13-
Check also the `official Twig extensions`_, which add commonly needed filters
14-
and functions and can be installed in your application as follows:
13+
Check also the `official Twig GitHub organization`_, which contains some extra
14+
repositories that provide extensions for common needs (such as ``string-extra``,
15+
``html-extra``, ``intl-extra``, etc.)
1516

1617
.. code-block:: terminal
1718
@@ -177,5 +178,5 @@ for this class and :doc:`tag your service </service_container/tags>` with ``twig
177178

178179
.. _`Twig Extensions`: https://twig.symfony.com/doc/2.x/advanced.html#creating-an-extension
179180
.. _`default Twig filters and functions`: https://twig.symfony.com/doc/2.x/#reference
180-
.. _`official Twig extensions`: https://github.com/twigphp/Twig-extensions
181+
.. _`official Twig GitHub organization`: https://github.com/twigphp
181182
.. _`global variables`: https://twig.symfony.com/doc/2.x/advanced.html#id1

0 commit comments

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