You are here

public function SubFormState::getRedirect in Authorization 8

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

Return value

mixed The value will be one of the following:

Overrides FormStateInterface::getRedirect

See also

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

File

src/Form/SubFormState.php, line 189

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function getRedirect() {
  return $this->mainFormState
    ->getRedirect();
}