You are here

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

BasicOverview constructor.

Parameters

\Drupal\user\UserDataInterface $user_data: The user data service.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.

\Drupal\tfa\TfaSetupPluginManager $tfa_setup_manager: The setup plugin manager.

\Drupal\tfa\TfaValidationPluginManager $tfa_validation_manager: The validation plugin manager.

\Drupal\tfa\TfaLoginPluginManager $tfa_login_manager: The login plugin manager.

\Drupal\tfa\TfaSendPluginManager $tfa_send_manager: The send plugin manager.

File

src/Form/BasicOverview.php, line 82

Class

BasicOverview
TFA Basic account setup overview page.

Namespace

Drupal\tfa\Form

Code

public function __construct(UserDataInterface $user_data, DateFormatterInterface $date_formatter, TfaSetupPluginManager $tfa_setup_manager, TfaValidationPluginManager $tfa_validation_manager, TfaLoginPluginManager $tfa_login_manager, TfaSendPluginManager $tfa_send_manager) {
  $this->userData = $user_data;
  $this->dateFormatter = $date_formatter;
  $this->tfaSetup = $tfa_setup_manager;
  $this->tfaValidation = $tfa_validation_manager;
  $this->tfaLogin = $tfa_login_manager;
  $this->tfaSend = $tfa_send_manager;
}