public function SystemStatusController::__construct in System Status 8.2
SystemStatusController constructor.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to invoke the alter hook with.
\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.
\Drupal\system_status\Services\SystemStatusEncryption $encrypt: The System Status encrypt.
File
- src/
Controller/ SystemStatusController.php, line 61
Class
- SystemStatusController
- Returns responses for Sensei's Pants routes.
Namespace
Drupal\system_status\ControllerCode
public function __construct(ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, SystemStatusEncryption $encrypt) {
$this->moduleHandler = $module_handler;
$this->themeHandler = $theme_handler;
$this->encrypt = $encrypt;
}