You are here

public function MagicLoginController::__construct in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()
  2. 8.5 modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()
  3. 8.6 modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()
  4. 8.7 modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()
  5. 10.3.x modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()
  6. 10.0.x modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()
  7. 10.1.x modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()
  8. 10.2.x modules/custom/social_magic_login/src/Controller/MagicLoginController.php \Drupal\social_magic_login\Controller\MagicLoginController::__construct()

MagicLoginController constructor.

Parameters

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

\Psr\Log\LoggerInterface $logger: The logger service.

\Drupal\Core\Extension\ModuleHandler $module_handler: The module handler service.

File

modules/custom/social_magic_login/src/Controller/MagicLoginController.php, line 44

Class

MagicLoginController
Class MagicLoginController.

Namespace

Drupal\social_magic_login\Controller

Code

public function __construct(UserStorageInterface $user_storage, LoggerInterface $logger, ModuleHandler $module_handler) {
  $this->userStorage = $user_storage;
  $this->logger = $logger;
  $this->moduleHandler = $module_handler;
}