function SystemInfoController::__construct

Same name in other branches
  1. 9 core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::__construct()
  2. 8.9.x core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::__construct()
  3. 11.x core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::__construct()

Constructs a SystemInfoController object.

Parameters

\Drupal\system\SystemManager $systemManager: System manager service.

File

core/modules/system/src/Controller/SystemInfoController.php, line 41

Class

SystemInfoController
Returns responses for System Info routes.

Namespace

Drupal\system\Controller

Code

public function __construct(SystemManager $systemManager) {
    $this->systemManager = $systemManager;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.