diff -u b/core/lib/Drupal/Core/Form/FormBase.php b/core/lib/Drupal/Core/Form/FormBase.php --- b/core/lib/Drupal/Core/Form/FormBase.php +++ b/core/lib/Drupal/Core/Form/FormBase.php @@ -208,9 +208,10 @@ * @return \Symfony\Component\HttpFoundation\RedirectResponse * A redirect response object that may be returned by the controller. * - * @deprecated in Drupal 9.1.x and will be removed before 10.0.0. Throw a - * \Drupal\Core\Form\EnforcedResponseException instead. See - * https://www.drupal.org/node/2363189. + * @deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no + * replacement. + * + * @see https://www.drupal.org/node/2363189 */ protected function redirect($route_name, array $route_parameters = [], array $options = [], $status = 302) { @trigger_error(__METHOD__ . ' is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Throw a \Drupal\Core\Form\EnforcedResponseException instead. See https://www.drupal.org/node/3324261. Current form ID: ' . $this->getFormId(), E_USER_DEPRECATED);