You are here

public function DefaultController::__construct in Warden 8.2

Same name and namespace in other branches
  1. 8 src/Controller/DefaultController.php \Drupal\warden\Controller\DefaultController::__construct()
  2. 3.x src/Controller/DefaultController.php \Drupal\warden\Controller\DefaultController::__construct()

Parameters

WardenManager $wardenManager: The Warden Manager service

Config $wardenConfig: The config where all the Warden settings are storied.

File

src/Controller/DefaultController.php, line 50

Class

DefaultController
Default controller for the warden module.

Namespace

Drupal\warden\Controller

Code

public function __construct(WardenManager $wardenManager, Config $wardenConfig) {
  $this->wardenManager = $wardenManager;
  $this->wardenConfig = $wardenConfig;
}