You are here

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

BasicDisable constructor.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $manager: The plugin manager to fetch plugin information.

\Drupal\user\UserDataInterface $user_data: The user data object to store user information.

\Drupal\Core\Password\PasswordInterface $password_checker: The password service.

\Drupal\Core\Mail\MailManagerInterface $mail_manager: The mail manager.

\Drupal\user\UserStorageInterface $user_storage: The user storage.

File

src/Form/BasicDisable.php, line 70

Class

BasicDisable
TFA disable form router.

Namespace

Drupal\tfa\Form

Code

public function __construct(PluginManagerInterface $manager, UserDataInterface $user_data, PasswordInterface $password_checker, MailManagerInterface $mail_manager, UserStorageInterface $user_storage) {
  $this->manager = $manager;
  $this->userData = $user_data;
  $this->passwordChecker = $password_checker;
  $this->mailManager = $mail_manager;
  $this->userStorage = $user_storage;
}