You are here

public static function ReadinessCheckerManager::getResults in Automatic Updates 7

3 calls to ReadinessCheckerManager::getResults()
automatic_updates_init in ./automatic_updates.module
Implements hook_init().
InPlaceUpdate::update in ./InPlaceUpdate.php
_automatic_updates_checker_requirements in ./automatic_updates.install
Display requirements from results of readiness checker.

File

ReadinessCheckers/ReadinessCheckerManager.php, line 75

Class

ReadinessCheckerManager
Defines a chained readiness checker implementation combining multiple checks.

Code

public static function getResults($category) {
  $results = [];
  if (static::isEnabled()) {
    $results = variable_get("automatic_updates.readiness_check_results.{$category}", []);
  }
  return $results;
}