You are here

protected static function ReadinessCheckerManager::getCheckers in Automatic Updates 7

Get checkers.

Return value

array The registered checkers.

1 call to ReadinessCheckerManager::getCheckers()
ReadinessCheckerManager::getSortedCheckers in ReadinessCheckers/ReadinessCheckerManager.php
Sorts checkers according to priority.

File

ReadinessCheckers/ReadinessCheckerManager.php, line 24

Class

ReadinessCheckerManager
Defines a chained readiness checker implementation combining multiple checks.

Code

protected static function getCheckers() {
  static::$checkers['warning'][0][] = 'BlacklistPhp72Versions';
  static::$checkers['warning'][0][] = 'CronFrequency';
  static::$checkers['warning'][0][] = 'FileOwnership';
  static::$checkers['warning'][0][] = 'MissingProjectInfo';
  static::$checkers['warning'][0][] = 'ModifiedFiles';
  static::$checkers['warning'][0][] = 'PhpSapi';
  static::$checkers['error'][0][] = 'DiskSpace';
  static::$checkers['error'][0][] = 'OpcodeCache';
  static::$checkers['error'][0][] = 'PendingDbUpdates';
  static::$checkers['error'][0][] = 'ReadOnlyFilesystem';
  return static::$checkers;
}