You are here

public function PendingDbUpdates::__construct in Automatic Updates 8

PendingDbUpdates constructor.

Parameters

\Drupal\Core\Update\UpdateRegistry $update_registry: The update registry.

1 method overrides PendingDbUpdates::__construct()
TestPendingDbUpdates::__construct in tests/src/Kernel/ReadinessChecker/PendingDbUpdatesTest.php
PendingDbUpdates constructor.

File

src/ReadinessChecker/PendingDbUpdates.php, line 27

Class

PendingDbUpdates
Pending database updates checker.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

public function __construct(UpdateRegistry $update_registry) {
  $this->updateRegistry = $update_registry;
}