You are here

public function TfaSetupInterface::getSetupForm in Two-factor Authentication (TFA) 8

Get the setup form for the validation method.

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 TfaSetupInterface::getSetupForm()
TfaRecoveryCodeSetup::getSetupForm in src/Plugin/TfaSetup/TfaRecoveryCodeSetup.php
Get the setup form for the validation method.
TfaTestValidationPluginSetupPlugin::getSetupForm in tests/modules/tfa_test_plugins/src/Plugin/TfaSetup/TfaTestValidationPluginSetupPlugin.php
Get the setup form for the validation method.
TfaTrustedBrowserSetup::getSetupForm in src/Plugin/TfaSetup/TfaTrustedBrowserSetup.php
Get the setup form for the validation method.

File

src/Plugin/TfaSetupInterface.php, line 27

Class

TfaSetupInterface
Interface TfaSetupInterface.

Namespace

Drupal\tfa\Plugin

Code

public function getSetupForm(array $form, FormStateInterface $form_state);