public FormState::disableRedirect($no_redirect = TRUE)
Prevents the form from redirecting.
Parameters
bool $no_redirect: If TRUE, the form will not redirect.
Return value
$this
Overrides FormStateInterface::disableRedirect
File
- core/lib/Drupal/Core/Form/FormState.php, line 642
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
public function disableRedirect($no_redirect = TRUE) { $this->no_redirect = (bool) $no_redirect; return $this; }
Please login to continue.