From bf08b822825de7d8272ef47a76f159133a6f9252 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 5 Jul 2023 13:08:30 +0200 Subject: [PATCH] [Form] Remove the deprecated renderForm() shortcut --- forms.rst | 7 ------- 1 file changed, 7 deletions(-) diff --git a/forms.rst b/forms.rst index 806d1f47bb2..3c062c76e98 100644 --- a/forms.rst +++ b/forms.rst @@ -282,13 +282,6 @@ Now that the form has been created, the next step is to render it:: Internally, the ``render()`` method calls ``$form->createView()`` to transform the form into a *form view* instance. -.. deprecated:: 6.2 - - Prior to Symfony 6.2, you had to use ``$this->render(..., ['form' => $form->createView()])`` - or the ``renderForm()`` method to render the form. The ``renderForm()`` - method is deprecated in favor of directly passing the ``FormInterface`` - instance to ``render()``. - Then, use some :ref:`form helper functions ` to render the form contents: