Search for setInvalidToken

  1. Search 7.x for setInvalidToken
  2. Search 9.5.x for setInvalidToken
  3. Search 8.9.x for setInvalidToken
  4. Search 11.x for setInvalidToken
  5. Other projects
Title Object type File name Summary
FormBuilder::setInvalidTokenError function core/lib/Drupal/Core/Form/FormBuilder.php
FormState::setInvalidToken function core/lib/Drupal/Core/Form/FormState.php Flags the form state as having or not an invalid token.
FormStateDecoratorBase::setInvalidToken function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Flags the form state as having or not an invalid token.
FormStateDecoratorBaseTest::testSetInvalidToken function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setInvalidToken
FormStateInterface::setInvalidToken function core/lib/Drupal/Core/Form/FormStateInterface.php Flags the form state as having or not an invalid token.
FormValidator::setInvalidTokenError function core/lib/Drupal/Core/Form/FormValidator.php
FormValidatorInterface::setInvalidTokenError function core/lib/Drupal/Core/Form/FormValidatorInterface.php Sets a form_token error on the given form state.

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