Skip to content

Commit

Permalink
minor symfony#20105 templates: check that a Twig extension does *not*…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
xabbuh committed Aug 11, 2024
2 parents 86acc2a + d2fb31f commit 319b504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ Writing a Twig Extension

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

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

0 comments on commit 319b504

Please sign in to comment.