function 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 702

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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

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