You are here

public function SubFormState::isRedirectDisabled in Authorization 8

Determines if redirecting has been prevented.

Return value

bool If TRUE, the form will not redirect.

Overrides FormStateInterface::isRedirectDisabled

File

src/Form/SubFormState.php, line 627

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function isRedirectDisabled() : bool {
  return $this->mainFormState
    ->isRedirectDisabled();
}