8.3.x FormStateInterface.php public FormStateInterface::getRedirect()
8.0.x FormStateInterface.php public FormStateInterface::getRedirect()
8.1.x FormStateInterface.php public FormStateInterface::getRedirect()
8.2.x FormStateInterface.php public FormStateInterface::getRedirect()
8.4.x FormStateInterface.php public FormStateInterface::getRedirect()

Gets the value to use for redirecting after the form has been executed.

Return value

mixed The value will be one of the following:

See also

\Drupal\Core\Form\FormSubmitterInterface::redirectForm()

1 method overrides FormStateInterface::getRedirect()
FormState::getRedirect in core/lib/Drupal/Core/Form/FormState.php
Gets the value to use for redirecting after the form has been executed.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 159

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function getRedirect();