public function ReadinessCheckerManager::getResults in Automatic Updates 8
Get results of most recent run.
Parameters
string $category: The category of check.
Return value
array An array of translatable strings.
Overrides ReadinessCheckerManagerInterface::getResults
File
- src/
ReadinessChecker/ ReadinessCheckerManager.php, line 85
Class
- ReadinessCheckerManager
- Defines a chained readiness checker implementation combining multiple checks.
Namespace
Drupal\automatic_updates\ReadinessCheckerCode
public function getResults($category) {
$results = [];
if ($this
->isEnabled()) {
$results = $this->keyValue
->get("readiness_check_results.{$category}", []);
}
return $results;
}