You are here

public function TfaTestValidationPluginSetupPlugin::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/TfaSetup/TfaTestValidationPluginSetupPlugin.php, line 31

Class

TfaTestValidationPluginSetupPlugin
TFA Test Validation Plugin Setup Plugin.

Namespace

Drupal\tfa_test_plugins\Plugin\TfaSetup

Code

public function ready() {
  return TRUE;
}