public function TfaTestTotp::ready in Two-factor Authentication (TFA) 7.2
Determine if the plugin can run for the current TFA context.
Return value
bool Whether the plugin can run.
Overrides TfaBasePlugin::ready
File
- tests/
includes/ tfa_test.totp.inc, line 23 - Tests for the TfaValidationPluginInterface.
Class
- TfaTestTotp
- Class TfaTestTotp.
Code
public function ready() {
return variable_get('tfa_test_is_ready', TRUE);
}