diff --git a/templating/twig_extension.rst b/templating/twig_extension.rst index dc0e29f8ccb..8508091000d 100644 --- a/templating/twig_extension.rst +++ b/templating/twig_extension.rst @@ -95,9 +95,9 @@ You can now start using your filter in any Twig template. Creating Lazy-Loaded Twig Extensions ------------------------------------ -.. versionadded:: 1.26 +.. versionadded:: 1.35 - Support for lazy-loaded extensions was introduced in Twig 1.26. + Support for lazy-loaded extensions was introduced in Twig 1.35.0 and 2.4.4. Including the code of the custom filters/functions in the Twig extension class is the simplest way to create extensions. However, Twig must initialize all