function FormState::getIgnoreDestination

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::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/FormState.php, line 1093

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

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

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