You are here

public function ReadinessCheckerManager::isEnabled in Automatic Updates 8

Determine if readiness checks is enabled.

Return value

bool TRUE if enabled, otherwise FALSE.

Overrides ReadinessCheckerManagerInterface::isEnabled

2 calls to ReadinessCheckerManager::isEnabled()
ReadinessCheckerManager::getResults in src/ReadinessChecker/ReadinessCheckerManager.php
Get results of most recent run.
ReadinessCheckerManager::run in src/ReadinessChecker/ReadinessCheckerManager.php
Run checks.

File

src/ReadinessChecker/ReadinessCheckerManager.php, line 107

Class

ReadinessCheckerManager
Defines a chained readiness checker implementation combining multiple checks.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

public function isEnabled() {
  return $this->configFactory
    ->get('automatic_updates.settings')
    ->get('enable_readiness_checks');
}