You are here

public function TfaTestSend::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.send.inc, line 24
Tests for the TfaSendPluginInterface.

Class

TfaTestSend
Class TfaTestSend.

Code

public function ready() {
  return variable_get('tfa_test_is_ready', TRUE);
}