function FormState::isRedirectDisabled
Determines if redirecting has been prevented.
Return value
bool If TRUE, the form will not redirect.
Overrides FormStateInterface::isRedirectDisabled
1 call to FormState::isRedirectDisabled()
- FormState::getRedirect in core/
lib/ Drupal/ Core/ Form/ FormState.php - Gets the value to use for redirecting after the form has been executed.
File
-
core/
lib/ Drupal/ Core/ Form/ FormState.php, line 650
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function isRedirectDisabled() {
return $this->no_redirect;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.