function FormStateInterface::setIgnoreDestination
Same name in other branches
- 10 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::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
2 methods override FormStateInterface::setIgnoreDestination()
- FormState::setIgnoreDestination in core/
lib/ Drupal/ Core/ Form/ FormState.php - Determines whether the redirect respects the destination query parameter.
- FormStateDecoratorBase::setIgnoreDestination in core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php
File
-
core/
lib/ Drupal/ Core/ Form/ FormStateInterface.php, line 170
Class
- FormStateInterface
- Provides an interface for an object containing the current state of a form.
Namespace
Drupal\Core\FormCode
public function setIgnoreDestination(bool $status = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.