You are here

public function TfaValidationPluginInterface::validateForm in Two-factor Authentication (TFA) 7.2

Validate form.

Parameters

array $form: The form array structure.

array $form_state: The current form state array.

Return value

bool Whether form passes validation or not.

3 methods override TfaValidationPluginInterface::validateForm()
TfaTestFallback::validateForm in tests/includes/tfa_test.fallback.inc
Validate form.
TfaTestSend::validateForm in tests/includes/tfa_test.send.inc
Validate form.
TfaTestTotp::validateForm in tests/includes/tfa_test.totp.inc
Validate form.

File

./tfa.inc, line 792
TFA module classes.

Class

TfaValidationPluginInterface
Interface TfaValidationPluginInterface.

Code

public function validateForm(array $form, array &$form_state);