function SystemInfoController::status

Same name in other branches
  1. 8.9.x core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::status()
  2. 10 core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::status()
  3. 11.x 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,
    ];
}

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