@@ -85,6 +85,7 @@ Configuration
85
85
* `fragments `_
86
86
87
87
* :ref: `enabled <reference-fragments-enabled >`
88
+ * `hinclude_default_template `_
88
89
* :ref: `path <reference-fragments-path >`
89
90
90
91
* `http_method_override `_
@@ -167,7 +168,6 @@ Configuration
167
168
168
169
* `resources `_
169
170
170
- * `hinclude_default_template `_
171
171
* `loaders `_
172
172
173
173
* `test `_
@@ -353,7 +353,7 @@ need to escape the percent signs (``%``) by doubling them.
353
353
// as /path/to/host/.../file on the host
354
354
// and /var/www/app/ as /projects/my_project/ also
355
355
'myide://%%f:%%l&/path/to/guest/>/path/to/host/&/var/www/app/>/projects/my_project/&...'
356
-
356
+
357
357
// example for PhpStorm
358
358
'phpstorm://open?file=%%f&line=%%l&/var/www/app/>/projects/my_project/'
359
359
@@ -598,28 +598,33 @@ used to render ESI fragments independently of the rest of the page.
598
598
This setting is automatically set to ``true `` when one of the child settings
599
599
is configured.
600
600
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
-
611
601
hinclude_default_template
612
602
.........................
613
603
614
604
**type **: ``string `` **default **: ``null ``
615
605
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
+
616
612
Sets the content shown during the loading of the fragment or when JavaScript
617
613
is disabled. This can be either a template name or the content itself.
618
614
619
615
.. seealso ::
620
616
621
617
See :doc: `/templating/hinclude ` for more information about hinclude.
622
618
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.
623
628
624
629
profiler
625
630
~~~~~~~~
0 commit comments