Skip to content

Commit 334d810

Browse files
committed
minor #11049 rename parent_form() to form_parent() (xabbuh)
This PR was merged into the master branch. Discussion ---------- rename parent_form() to form_parent() symfony/symfony#30357 Commits ------- f9e3559 rename parent_form() to form_parent()
2 parents 5aa9ee5 + f9e3559 commit 334d810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form/form_customization.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,12 @@ obvious (since it'll render the field for you).
312312
313313
{{ form_rest(form) }}
314314
315-
parent_form(form_view)
315+
form_parent(form_view)
316316
......................
317317

318318
.. versionadded:: 4.3
319319

320-
The ``parent_form()`` function was introduced in Symfony 4.3.
320+
The ``form_parent()`` function was introduced in Symfony 4.3.
321321

322322
Returns the parent form view or ``null`` if the form view already is the
323323
root form. Using this function should be preferred over accessing the parent

0 commit comments

Comments
 (0)