SystemManager::checkRequirements

public SystemManager::checkRequirements()

Checks for requirement severity.

Return value

bool Returns the status of the system.

File

core/modules/system/src/SystemManager.php, line 95

Class

SystemManager
System Manager Service.

Namespace

Drupal\system

Code

public function checkRequirements() {
  $requirements = $this->listRequirements();
  return $this->getMaxSeverity($requirements) == static::REQUIREMENT_ERROR;
}
doc_Drupal
2016-10-29 09:45:47
Comments
Leave a Comment

Please login to continue.