You are here

public function SystemInfoController::status in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::status()

Displays the site status report.

Return value

string The current status of the Drupal installation.

1 string reference to 'SystemInfoController::status'
system.routing.yml in core/modules/system/system.routing.yml
core/modules/system/system.routing.yml

File

core/modules/system/src/Controller/SystemInfoController.php, line 52
Contains \Drupal\system\Controller\SystemInfoController.

Class

SystemInfoController
Returns responses for System Info routes.

Namespace

Drupal\system\Controller

Code

public function status() {
  $requirements = $this->systemManager
    ->listRequirements();
  return array(
    '#theme' => 'status_report',
    '#requirements' => $requirements,
  );
}