From f9e355985489ada1893d1f6c4e4f5fbac4603295 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sat, 23 Feb 2019 11:02:37 +0100 Subject: [PATCH] rename parent_form() to form_parent() --- form/form_customization.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/form/form_customization.rst b/form/form_customization.rst index e985d0d4a43..3ecedf61d6c 100644 --- a/form/form_customization.rst +++ b/form/form_customization.rst @@ -312,12 +312,12 @@ obvious (since it'll render the field for you). {{ form_rest(form) }} -parent_form(form_view) +form_parent(form_view) ...................... .. versionadded:: 4.3 - The ``parent_form()`` function was introduced in Symfony 4.3. + The ``form_parent()`` function was introduced in Symfony 4.3. Returns the parent form view or ``null`` if the form view already is the root form. Using this function should be preferred over accessing the parent