function FormStateDecoratorBase::setIgnoreDestination
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setIgnoreDestination()
Determines whether the redirect respects the destination query parameter.
Parameters
bool $status: (optional) TRUE if the redirect should take precedence over the destination query parameter. FALSE if not. Defaults to TRUE.
Return value
$this
Overrides FormStateInterface::setIgnoreDestination
File
-
core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php, line 617
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\FormCode
public function setIgnoreDestination(bool $status = TRUE) {
return $this->decoratedFormState
->setIgnoreDestination($status);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.