You are here

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

Get TFA process form from plugin.

Parameters

array $form: The form array structure.

array $form_state: The current form state array.

Return value

array Form API array.

3 methods override TfaValidationPluginInterface::getForm()
TfaTestFallback::getForm in tests/includes/tfa_test.fallback.inc
Get TFA process form from plugin.
TfaTestSend::getForm in tests/includes/tfa_test.send.inc
Get TFA process form from plugin.
TfaTestTotp::getForm in tests/includes/tfa_test.totp.inc
Get TFA process form from plugin.

File

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

Class

TfaValidationPluginInterface
Interface TfaValidationPluginInterface.

Code

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