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