public function DefaultController::__construct in Warden 8
Same name and namespace in other branches
- 8.2 src/Controller/DefaultController.php \Drupal\warden\Controller\DefaultController::__construct()
- 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\ControllerCode
public function __construct(WardenManager $wardenManager, Config $wardenConfig) {
$this->wardenManager = $wardenManager;
$this->wardenConfig = $wardenConfig;
}