public function TfaSetup::submitForm in Two-factor Authentication (TFA) 8
Submit the setup form.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
bool TRUE if no errors occur when saving the data.
File
- src/
TfaSetup.php, line 93
Class
- TfaSetup
- TFA Setup.
Namespace
Drupal\tfaCode
public function submitForm(array $form, FormStateInterface &$form_state) {
return $this->setupPlugin
->submitSetupForm($form, $form_state);
}