You are here

public function DefaultController::__construct in Warden 3.x

Same name and namespace in other branches
  1. 8.2 src/Controller/DefaultController.php \Drupal\warden\Controller\DefaultController::__construct()
  2. 8 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 51

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;
}