File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -223,10 +223,6 @@ to bootstrap or access Twig and add the :class:`Symfony\\Bridge\\Twig\\Extension
223223 // ...
224224 ->getFormFactory();
225225
226- .. versionadded :: 1.30
227-
228- The ``Twig\RuntimeLoader\FactoryRuntimeLoader `` was introduced in Twig 1.30.
229-
230226The exact details of your `Twig Configuration `_ will vary, but the goal is
231227always to add the :class: `Symfony\\ Bridge\\ Twig\\ Extension\\ FormExtension `
232228to Twig, which gives you access to the Twig functions for rendering forms.
Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ autoescape_service
6767
6868**type **: ``string `` **default **: ``null ``
6969
70- As of Twig 1.17, the escaping strategy applied by default to the template is
71- determined during compilation time based on the filename of the template. This
72- means for example that the contents of a ``*.html.twig `` template are escaped
73- for HTML and the contents of ``*.js.twig `` are escaped for JavaScript.
70+ The escaping strategy applied by default to the template is determined during
71+ compilation time based on the filename of the template. This means for example
72+ that the contents of a ``*.html.twig `` template are escaped for HTML and the
73+ contents of ``*.js.twig `` are escaped for JavaScript.
7474
7575This option allows to define the Symfony service which will be used to determine
7676the default escaping applied to the template.
Original file line number Diff line number Diff line change @@ -103,10 +103,6 @@ this command to confirm that your new filter was successfully registered:
103103Creating Lazy-Loaded Twig Extensions
104104------------------------------------
105105
106- .. versionadded :: 1.35
107-
108- Support for lazy-loaded extensions was introduced in Twig 1.35.0 and 2.4.4.
109-
110106Including the code of the custom filters/functions in the Twig extension class
111107is the simplest way to create extensions. However, Twig must initialize all
112108extensions before rendering any template, even if the template doesn't use an
You can’t perform that action at this time.
0 commit comments