From ecb9c5029f6206f8e17dd42ffc8cdbc696131a0a Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 20 Oct 2020 17:40:12 +0100 Subject: [PATCH] Issue #3157963 by shailja179, ravi.shankar, kiamlaluno, davidhernandez, joachim: The link given in FormState::setRedirect() for the page explaining what values are available for $options param takes to a class documentation page (cherry picked from commit d6b4ca71b6de1419ad51d4f7bb474ce7eab75129) --- core/lib/Drupal/Core/Form/FormStateInterface.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Form/FormStateInterface.php b/core/lib/Drupal/Core/Form/FormStateInterface.php index 9a69764f19d6..223cc24c757c 100644 --- a/core/lib/Drupal/Core/Form/FormStateInterface.php +++ b/core/lib/Drupal/Core/Form/FormStateInterface.php @@ -121,12 +121,13 @@ public function getResponse(); * @param array $route_parameters * (optional) An associative array of parameter names and values. * @param array $options - * (optional) An associative array of additional options. See - * \Drupal\Core\Url for the available keys. + * (optional) An associative array of additional options containing the + * same values accepted from \Drupal\Core\Url::fromUri() for $options. * * @return $this * * @see \Drupal\Core\Form\FormSubmitterInterface::redirectForm() + * @see \Drupal\Core\Url::fromUri() */ public function setRedirect($route_name, array $route_parameters = [], array $options = []); -- GitLab