public function FormBuilder::setInvalidTokenError in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::setInvalidTokenError()
- 9 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::setInvalidTokenError()
File
- core/
lib/ Drupal/ Core/ Form/ FormBuilder.php, line 868
Class
- FormBuilder
- Provides form building and processing.
Namespace
Drupal\Core\FormCode
public function setInvalidTokenError(FormStateInterface $form_state) {
$this->formValidator
->setInvalidTokenError($form_state);
}