You are here

public function SystemManager::checkRequirements in Zircon Profile 8

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

Checks for requirement severity.

Return value

bool Returns the status of the system.

File

core/modules/system/src/SystemManager.php, line 99
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;
}