You are here

public function FormStateDecoratorBase::hasInvalidToken in Drupal 9

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

Determines if the form has an invalid token.

Return value

bool TRUE if the form has an invalid token, FALSE otherwise.

Overrides FormStateInterface::hasInvalidToken

File

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

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function hasInvalidToken() {
  return $this->decoratedFormState
    ->hasInvalidToken();
}