FormState::$invalidToken

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::invalidToken
  2. 10 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::invalidToken
  3. 11.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::invalidToken

Determines if only safe element value callbacks are called.

If set to TRUE the form will skip calling form element value callbacks, except for a select list of callbacks provided by Drupal core that are known to be safe.

This property is uncacheable.

Type: bool

See also

self::setInvalidToken()

File

core/lib/Drupal/Core/Form/FormState.php, line 122

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

protected $invalidToken = FALSE;

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