8000 Routing: add explanation for the "_fragment" parameter · symfony/symfony-docs@d657abd · GitHub
[go: up one dir, main page]

Skip to content

Commit d657abd

Browse files
Alexis Lefebvrewouterj
Alexis Lefebvre
authored andcommitted
Routing: add explanation for the "_fragment" parameter
1 parent 299d3b4 commit d657abd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

routing.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ Special Routing Parameters
465465
~~~~~~~~~~~~~~~~~~~~~~~~~~
466466

467467
As you've seen, each routing parameter or default value is eventually available
468-
as an argument in the controller method. Additionally, there are three parameters
468+
as an argument in the controller method. Additionally, there are four parameters
469469
that are special: each adds a unique piece of functionality inside your application:
470470

471471
``_controller``
@@ -475,6 +475,14 @@ that are special: each adds a unique piece of functionality inside your applicat
475475
``_format``
476476
Used to set the request format (:ref:`read more <routing-format-param>`).
477477

478+
``_fragment``
479+
480+
.. versionadded:: 3.2
481+
The ``_fragment`` parameter was introduced in Symfony 3.2.
482+
483+
Used to set the fragment identifier, the optional last part of a URL that
484+
starts with a ``#`` character and is used to identify a portion of a document.
485+
478486
``_locale``
479487
Used to set the locale on the request (:ref:`read more <translation-locale-url>`).
480488

0 commit comments

Comments
 (0)
0