8000 [#7219] move versionadded in front of description · matthieu88160/symfony-docs@6ac3cb4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ac3cb4

Browse files
committed
[symfony#7219] move versionadded in front of description
1 parent dc8c0f3 commit 6ac3cb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/forms/types/choice.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ The ``choice_loader`` can be used to only partially load the choices in cases wh
184184
a fully-lo A68F aded list is not necessary. This is only needed in advanced cases and
185185
would replace the ``choices`` option.
186186

187+
.. versionadded:: 3.2
188+
The :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\CallbackChoiceLoader`
189+
was introduced in Symfony 3.2.
190+
187191
You can use an instance of :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\CallbackChoiceLoader`
188192
if you want to take advantage of lazy loading::
189193

@@ -201,10 +205,6 @@ This will cause the call of ``StaticClass::getConstants()`` to not happen if the
201205
request is redirected and if there is no pre set or submitted data. Otherwise
202206
the choice options would need to be resolved thus triggering the callback.
203207

204-
.. versionadded:: 3.2
205-
The ability to use an instance of :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\CallbackChoiceLoader`
206-
was introduced in Symfony 3.2
207-
208208
.. include:: /reference/forms/types/options/choice_name.rst.inc
209209

210210
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc

0 commit comments

Comments
 (0)
0