You are here

public function InPlaceUpdateController::__construct in Automatic Updates 8

Same name in this branch
  1. 8 src/Controller/InPlaceUpdateController.php \Drupal\automatic_updates\Controller\InPlaceUpdateController::__construct()
  2. 8 tests/modules/test_automatic_updates/src/Controller/InPlaceUpdateController.php \Drupal\test_automatic_updates\Controller\InPlaceUpdateController::__construct()

InPlaceUpdateController constructor.

Parameters

\Drupal\automatic_updates\Services\UpdateInterface $updater: The updater service.

File

tests/modules/test_automatic_updates/src/Controller/InPlaceUpdateController.php, line 28

Class

InPlaceUpdateController
Returns responses for Test Automatic Updates routes.

Namespace

Drupal\test_automatic_updates\Controller

Code

public function __construct(UpdateInterface $updater) {
  $this->updater = $updater;
}