FormState::isRedirectDisabled

public FormState::isRedirectDisabled()

Determines if redirecting has been prevented.

Return value

bool If TRUE, the form will not redirect.

Overrides FormStateInterface::isRedirectDisabled

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;
}
doc_Drupal
2016-10-29 09:16:01
Comments
Leave a Comment

Please login to continue.