You are here

public function FormStateDecoratorBase::isRedirectDisabled in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::isRedirectDisabled()
  2. 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::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/FormStateDecoratorBase.php, line 203

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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