Skip to content

Commit 58ef51e

Browse files
committed
minor symfony#12766 Fixed the minimum Twig version needed for lazy extensions (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Fixed the minimum Twig version needed for lazy extensions Fixes symfony#12597. Commits ------- 234c9f9 Fixed the minimum Twig version needed for lazy extensions
2 parents 17f5a01 + 234c9f9 commit 58ef51e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templating/twig_extension.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ You can now start using your filter in any Twig template.
9595
Creating Lazy-Loaded Twig Extensions
9696
------------------------------------
9797

98-
.. versionadded:: 1.26
98+
.. versionadded:: 1.35
9999

100-
Support for lazy-loaded extensions was introduced in Twig 1.26.
100+
Support for lazy-loaded extensions was introduced in Twig 1.35.0 and 2.4.4.
101101

102102
Including the code of the custom filters/functions in the Twig extension class
103103
is the simplest way to create extensions. However, Twig must initialize all

0 commit comments

Comments
 (0)