public function TfaTestValidationPlugin::ready in Two-factor Authentication (TFA) 8
Determine if the plugin can run for the current TFA context.
Return value
bool True or False based on the checks performed.
Overrides TfaBasePlugin::ready
File
- tests/
modules/ tfa_test_plugins/ src/ Plugin/ TfaValidation/ TfaTestValidationPlugin.php, line 40
Class
- TfaTestValidationPlugin
- TFA Test Validation Plugin.
Namespace
Drupal\tfa_test_plugins\Plugin\TfaValidationCode
public function ready() {
return TRUE;
}