public function TfaSetup::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.
File
- ./
tfa.inc, line 378 - TFA module classes.
Class
- TfaSetup
- Class TfaSetup.
Code
public function validateForm(array $form, array &$form_state) {
return $this->setupPlugin
->validateSetupForm($form, $form_state);
}