public function SystemManager::checkRequirements

Checks for requirement severity.

Return value

boolean Returns the status of the system.

File

drupal/core/modules/system/lib/Drupal/system/SystemManager.php, line 61
Contains \Drupal\system\SystemManager.

Class

SystemManager
System Manager Service.

Namespace

Drupal\system

Code

public function checkRequirements() {
  $requirements = $this
    ->listRequirements();
  return $this
    ->getMaxSeverity($requirements) == static::REQUIREMENT_ERROR;
}