FormState::hasInvalidToken

public FormState::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/FormState.php, line 1246

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

1
2
3
public function hasInvalidToken() {
  return $this->invalidToken;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.