You are here

public function UpdateRefreshSubscriber::__construct in Automatic Updates 8.2

Constructs an UpdateRefreshSubscriber object.

Parameters

\Drupal\update\UpdateManagerInterface $update_manager: The update manager service.

File

src/Event/UpdateRefreshSubscriber.php, line 27

Class

UpdateRefreshSubscriber
Clears stale update data once a staged update has been committed.

Namespace

Drupal\automatic_updates\Event

Code

public function __construct(UpdateManagerInterface $update_manager) {
  $this->updateManager = $update_manager;
}