public function SubFormState::hasInvalidToken in Authorization 8
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
- src/
Form/ SubFormState.php, line 418
Class
- SubFormState
- Represents the form state of a sub-form.
Namespace
Drupal\authorization\FormCode
public function hasInvalidToken() {
return $this->mainFormState
->hasInvalidToken();
}