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

public function hasInvalidToken() {
  return $this->invalidToken;
}
doc_Drupal
2016-10-29 09:15:59
Comments
Leave a Comment

Please login to continue.