public function TfaSetupInterface::submitSetupForm in Two-factor Authentication (TFA) 8
Submit the setup form.
Parameters
array $form: The configuration form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
bool TRUE if no errors occur when saving the data.
3 methods override TfaSetupInterface::submitSetupForm()
- TfaRecoveryCodeSetup::submitSetupForm in src/
Plugin/ TfaSetup/ TfaRecoveryCodeSetup.php - Submit the setup form.
- TfaTestValidationPluginSetupPlugin::submitSetupForm in tests/
modules/ tfa_test_plugins/ src/ Plugin/ TfaSetup/ TfaTestValidationPluginSetupPlugin.php - Submit the setup form.
- TfaTrustedBrowserSetup::submitSetupForm in src/
Plugin/ TfaSetup/ TfaTrustedBrowserSetup.php - Submit the setup form.
File
- src/
Plugin/ TfaSetupInterface.php, line 53
Class
- TfaSetupInterface
- Interface TfaSetupInterface.
Namespace
Drupal\tfa\PluginCode
public function submitSetupForm(array $form, FormStateInterface $form_state);