You are here

public function TfaSetup::__construct in Two-factor Authentication (TFA) 8

TFA Setup constructor.

Parameters

\Drupal\tfa\Plugin\TfaSetupInterface $plugin: Plugins to instantiate.

File

src/TfaSetup.php, line 26

Class

TfaSetup
TFA Setup.

Namespace

Drupal\tfa

Code

public function __construct(TfaSetupInterface $plugin) {
  $this->setupPlugin = $plugin;
}