public function TfaValidationInterface::getForm in Two-factor Authentication (TFA) 8
Get TFA process form from plugin.
Parameters
array $form: The configuration form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array Form API array.
3 methods override TfaValidationInterface::getForm()
- TfaRecoveryCode::getForm in src/
Plugin/ TfaValidation/ TfaRecoveryCode.php - Get TFA process form from plugin.
- TfaTestValidationPlugin::getForm in tests/
modules/ tfa_test_plugins/ src/ Plugin/ TfaValidation/ TfaTestValidationPlugin.php - Get TFA process form from plugin.
- TfaTrustedBrowser::getForm in src/
Plugin/ TfaLogin/ TfaTrustedBrowser.php - Get TFA process form from plugin.
File
- src/
Plugin/ TfaValidationInterface.php, line 26
Class
- TfaValidationInterface
- Interface TfaValidationInterface.
Namespace
Drupal\tfa\PluginCode
public function getForm(array $form, FormStateInterface $form_state);