Skip to content

Commit 319b504

Browse files
committed
minor #20105 templates: check that a Twig extension does *not* already exist (alexislefebvre)
This PR was merged into the 5.4 branch. Discussion ---------- templates: check that a Twig extension does *not* already exist I think that it's more clear this way. Commits ------- d2fb31f templates: check that a Twig extension does not already exist
2 parents 86acc2a + d2fb31f commit 319b504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ Writing a Twig Extension
14301430

14311431
`Twig Extensions`_ allow the creation of custom functions, filters, and more to use
14321432
in your Twig templates. Before writing your own Twig extension, check if
1433-
the filter/function that you need is already implemented in:
1433+
the filter/function that you need is not already implemented in:
14341434

14351435
* The `default Twig filters and functions`_;
14361436
* The :doc:`Twig filters and functions added by Symfony </reference/twig_reference>`;

0 commit comments

Comments
 (0)