You are here

public function TfaSetupPluginInterface::validateSetupForm in Two-factor Authentication (TFA) 7.2

Validate setup form.

Parameters

array $form: The form array structure.

array $form_state: The current form state array.

Return value

bool Indicates whether the form is valid.

1 method overrides TfaSetupPluginInterface::validateSetupForm()
TfaTestSendSetup::validateSetupForm in tests/includes/tfa_test.send.inc
Validate setup form.

File

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

Class

TfaSetupPluginInterface
Interface TfaSetupPluginInterface.

Code

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