public function TfaTestValidationPlugin::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.
Overrides TfaValidationInterface::getForm
File
- tests/
modules/ tfa_test_plugins/ src/ Plugin/ TfaValidation/ TfaTestValidationPlugin.php, line 26
Class
- TfaTestValidationPlugin
- TFA Test Validation Plugin.
Namespace
Drupal\tfa_test_plugins\Plugin\TfaValidationCode
public function getForm(array $form, FormStateInterface $form_state) {
return $form;
}