diff --git a/core/lib/Drupal/Core/Form/form.api.php b/core/lib/Drupal/Core/Form/form.api.php index 216ca51d5560e2ae8318dd0cb6c5d4165751a2be..d2f5d2cf6507061c2262151e5f0149b596524679 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()