You are here

public function SystemInfoController::status in Drupal 9

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

Displays the site status report.

Return value

array A render array containing a list of system requirements for the Drupal installation and whether this installation meets the requirements.

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 48

Class

SystemInfoController
Returns responses for System Info routes.

Namespace

Drupal\system\Controller

Code

public function status() {
  $requirements = $this->systemManager
    ->listRequirements();
  return [
    '#type' => 'status_report_page',
    '#requirements' => $requirements,
  ];
}