You are here

public function ReadinessCheckerController::__construct in Automatic Updates 8

ReadinessCheckerController constructor.

Parameters

\Drupal\automatic_updates\ReadinessChecker\ReadinessCheckerManagerInterface $checker: The readiness checker.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

File

src/Controller/ReadinessCheckerController.php, line 30

Class

ReadinessCheckerController
Class ReadinessCheckerController.

Namespace

Drupal\automatic_updates\Controller

Code

public function __construct(ReadinessCheckerManagerInterface $checker, TranslationInterface $string_translation) {
  $this->checker = $checker;
  $this->stringTranslation = $string_translation;
}