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

1
2
3
public function isRedirectDisabled() {
  return $this->no_redirect;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.