You are here

public function FormState::isRedirectDisabled in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::isRedirectDisabled()
  2. 10 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::isRedirectDisabled()

Determines if redirecting has been prevented.

Return value

bool If TRUE, the form will not redirect.

Overrides FormStateInterface::isRedirectDisabled

1 call to FormState::isRedirectDisabled()
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/FormState.php, line 650

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function isRedirectDisabled() {
  return $this->no_redirect;
}