public function SubFormState::disableRedirect in Authorization 8
Prevents the form from redirecting.
Parameters
bool $no_redirect: If TRUE, the form will not redirect.
Return value
$this
Overrides FormStateInterface::disableRedirect
File
- src/
Form/ SubFormState.php, line 619
Class
- SubFormState
- Represents the form state of a sub-form.
Namespace
Drupal\authorization\FormCode
public function disableRedirect($no_redirect = TRUE) {
$this->mainFormState
->disableRedirect($no_redirect);
return $this;
}