From d2fb31ff1f42bf2eaa95e35c5fa5cf355361b341 Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Sat, 10 Aug 2024 17:44:18 +0200 Subject: [PATCH] templates: check that a Twig extension does not already exist --- templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.rst b/templates.rst index 33815a2b21a..9fefc066fe0 100644 --- a/templates.rst +++ b/templates.rst @@ -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 `;