function FormStateInterface::getIgnoreDestination

Same name in other branches
  1. 10 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::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.

2 methods override FormStateInterface::getIgnoreDestination()
FormState::getIgnoreDestination in core/lib/Drupal/Core/Form/FormState.php
Gets whether the redirect respects the destination query parameter.
FormStateDecoratorBase::getIgnoreDestination in core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
Gets whether the redirect respects the destination query parameter.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 179

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function getIgnoreDestination() : bool;

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