function FormStateDecoratorBase::getIgnoreDestination

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getIgnoreDestination()

Gets whether the redirect respects the destination query parameter.

Return value

bool TRUE if the redirect should take precedence over the destination query parameter.

Overrides FormStateInterface::getIgnoreDestination

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 624

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function getIgnoreDestination() : bool {
  return $this->decoratedFormState
    ->getIgnoreDestination();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.