File tree Expand file tree Collapse file tree 11 files changed +399
-415
lines changed
Filter options
Expand file tree Collapse file tree 11 files changed +399
-415
lines changed
Original file line number Diff line number Diff line change 256
256
/cookbook/session/proxy_examples /session/proxy_examples
257
257
/cookbook/session/sessions_directory /session/sessions_directory
258
258
/cookbook/symfony1 /introduction/symfony1
259
- /cookbook/templating/global_variables /templating/global_variables
259
+ /cookbook/templating/global_variables /templating#templating-global-variables
260
+ /templating/global_variables /templating#templating-global-variables
260
261
/cookbook/templating/index /templating
261
262
/cookbook/templating/namespaced_paths /templating/namespaced_paths
262
263
/cookbook/templating/PHP /templating/PHP
388
389
/quick_tour/the_view /quick_tour/flex_recipes
389
390
/service_container/service_locators /service_container/service_subscribers_locators
390
391
/templating/overriding /bundles/override
392
+ /templating/twig_extension /templates#templates-twig-extension
393
+ /templating/hinclude /templates#templates-hinclude
394
+ /templating/PHP /templates
391
395
/security/custom_provider /security/user_provider
392
396
/security/multiple_user_providers /security/user_provider
393
397
/security/custom_password_authenticator /security/guard_authentication
Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ is disabled. This can be either a template name or the content itself.
730
730
731
731
.. seealso ::
732
732
733
- See :doc: ` /templating/ hinclude ` for more information about hinclude.
733
+ See :ref: ` templates- hinclude ` for more information about hinclude.
734
734
735
735
.. _reference-fragments-path :
736
736
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ globals
300
300
**type **: ``array `` **default **: ``[] ``
301
301
302
302
It defines the global variables injected automatically into all Twig templates.
303
- Learn more about :doc : `Twig global variables </ templating/global_variables >`.
303
+ Learn more about :ref : `Twig global variables <templating-global-variables >`.
304
304
305
305
mailer
306
306
~~~~~~
Original file line number Diff line number Diff line change @@ -1263,7 +1263,7 @@ the service is auto-registered and auto-tagged. But, you can also register it ma
1263
1263
1264
1264
For information on how to create the actual Twig Extension class, see
1265
1265
`Twig's documentation `_ on the topic or read the
1266
- :doc: ` /templating/twig_extension ` article.
1266
+ :ref: ` templates-twig-extension ` article.
1267
1267
1268
1268
twig.loader
1269
1269
-----------
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ components with Twig templates. This article explains them all.
12
12
.. tip ::
13
13
14
14
If these extensions provided by Symfony are not enough, you can
15
- :doc : `create a custom Twig extension </templating/twig_extension >` to define
15
+ :ref : `create a custom Twig extension <templates-twig-extension >` to define
16
16
even more filters and functions.
17
17
18
18
.. _reference-twig-functions :
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ protected forms. As an alternative, you can:
71
71
* Embed the form inside an uncached :doc: `ESI fragment </http_cache/esi >` and
72
72
cache the rest of the page contents;
73
73
* Cache the entire page and load the form via an uncached AJAX request;
74
- * Cache the entire page and use :doc : `hinclude.js </templating/ hinclude >` to
74
+ * Cache the entire page and use :ref : `hinclude.js <templates- hinclude >` to
75
75
load the CSRF token with an uncached AJAX request and replace the form
76
76
field value with it.
77
77
You can’t perform that action at this time.
0 commit comments