8000 [Form] Remove the deprecated renderForm() shortcut · symfony/symfony-docs@bf08b82 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf08b82

Browse files
committed
[Form] Remove the deprecated renderForm() shortcut
1 parent a1aef93 commit bf08b82

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

forms.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,6 @@ Now that the form has been created, the next step is to render it::
282282
Internally, the ``render()`` method calls ``$form->createView()`` to
283283
transform the form into a *form view* instance.
284284

285-
.. deprecated:: 6.2
286-
287-
Prior to Symfony 6.2, you had to use ``$this->render(..., ['form' => $form->createView()])``
288-
or the ``renderForm()`` method to render the form. The ``renderForm()``
289-
method is deprecated in favor of directly passing the ``FormInterface``
290-
instance to ``render()``.
291-
292285
Then, use some :ref:`form helper functions <reference-form-twig-functions>` to
293286
render the form contents:
294287

0 commit comments

Comments
 (0)
0