You are here

public function TfaBasePlugin::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.

2 methods override TfaBasePlugin::ready()
TfaTestSend::ready in tests/includes/tfa_test.send.inc
Determine if the plugin can run for the current TFA context.
TfaTestTotp::ready in tests/includes/tfa_test.totp.inc
Determine if the plugin can run for the current TFA context.

File

./tfa.inc, line 499
TFA module classes.

Class

TfaBasePlugin
Base plugin class.

Code

public function ready() {
  return TRUE;
}