From bf7d238e4ca4b88a1d29f43db9d774b2661040e2 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Mon, 25 Jul 2022 15:23:02 +0900 Subject: [PATCH] Issue #2939237 by Anjali Rathod, pooja saraah, apaderno, eojthebrave: Update the description given for $form_id (cherry picked from commit 96a199b9689a4879041d66147c1ff7e375f2a399) --- core/lib/Drupal/Core/Form/form.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Form/form.api.php b/core/lib/Drupal/Core/Form/form.api.php index 216ca51d5560..d2f5d2cf6507 100644 --- a/core/lib/Drupal/Core/Form/form.api.php +++ b/core/lib/Drupal/Core/Form/form.api.php @@ -194,8 +194,8 @@ function hook_ajax_render_alter(array &$data) { * \Drupal::formBuilder()->getForm() was originally called with are available * in the array $form_state->getBuildInfo()['args']. * @param $form_id - * String representing the name of the form itself. Typically this is the - * name of the function that generated the form. + * A string that is the unique ID of the form, set by + * Drupal\Core\Form\FormInterface::getFormId(). * * @see hook_form_BASE_FORM_ID_alter() * @see hook_form_FORM_ID_alter() -- GitLab