Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 052543d

Browse files
committed
Merge pull request #546 from greg0ire/proofread
remove option documentation for locale_provider
2 parents 59c966b + e144876 commit 052543d

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

bundles/routing_auto/token_providers.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ content_locale
9595
The ``content_locale`` provider will provide the locale (e.g. ``fr``, ``de``,
9696
etc) from the subject object. It ultimately determines the locale from the
9797
storage specific adapter - so it is dependent upon the adapter supporting this
98-
feature.
98+
feature. It has no option.
9999

100100
.. configuration-block::
101101

@@ -117,15 +117,6 @@ feature.
117117
</mapping>
118118
</auto-mapping>
119119
120-
Options
121-
~~~~~~~
122-
123-
``method``
124-
**required** Method used to return the route name/path/path elements.
125-
``slugify``
126-
If the return value should be slugified, default is ``true``.
127-
``locale_format``
128-
Any locale format accepted by the `DateTime` class, default ``Y-m-d``.
129120
130121
Creating a Custom Token Provider
131122
--------------------------------

0 commit comments

Comments
 (0)