Skip to content

Commit 422ff6b

Browse files
committed
Minor tweaks
1 parent 8f3a8ff commit 422ff6b

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

reference/configuration/framework.rst

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Configuration
8585
* `fragments`_
8686

8787
* :ref:`enabled <reference-fragments-enabled>`
88+
* `hinclude_default_template`_
8889
* :ref:`path <reference-fragments-path>`
8990

9091
* `http_method_override`_
@@ -167,7 +168,6 @@ Configuration
167168

168169
* `resources`_
169170

170-
* `hinclude_default_template`_
171171
* `loaders`_
172172

173173
* `test`_
@@ -353,7 +353,7 @@ need to escape the percent signs (``%``) by doubling them.
353353
// as /path/to/host/.../file on the host
354354
// and /var/www/app/ as /projects/my_project/ also
355355
'myide://%%f:%%l&/path/to/guest/>/path/to/host/&/var/www/app/>/projects/my_project/&...'
356-
356+
357357
// example for PhpStorm
358358
'phpstorm://open?file=%%f&line=%%l&/var/www/app/>/projects/my_project/'
359359

@@ -598,28 +598,33 @@ used to render ESI fragments independently of the rest of the page.
598598
This setting is automatically set to ``true`` when one of the child settings
599599
is configured.
600600

601-
.. _reference-fragments-path:
602-
603-
path
604-
....
605-
606-
**type**: ``string`` **default**: ``'/_fragment'``
607-
608-
The path prefix for fragments. The fragment listener will only be executed
609-
when the request starts with this path.
610-
611601
hinclude_default_template
612602
.........................
613603

614604
**type**: ``string`` **default**: ``null``
615605

606+
.. versionadded:: 4.3
607+
608+
The ``framework.fragments.hinclude_default_template`` option was introduced
609+
in Symfony 4.3. In previous Symfony versions it was defined under
610+
``framework.templating.hinclude_default_template``.
611+
616612
Sets the content shown during the loading of the fragment or when JavaScript
617613
is disabled. This can be either a template name or the content itself.
618614

619615
.. seealso::
620616

621617
See :doc:`/templating/hinclude` for more information about hinclude.
622618

619+
.. _reference-fragments-path:
620+
621+
path
622+
....
623+
624+
**type**: ``string`` **default**: ``'/_fragment'``
625+
626+
The path prefix for fragments. The fragment listener will only be executed
627+
when the request starts with this path.
623628

624629
profiler
625630
~~~~~~~~

0 commit comments

Comments
 (0)