You are here

public function UpdateBackend::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Update/UpdateBackend.php \Drupal\Core\Update\UpdateBackend::__construct()

UpdateBackend constructor.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $backend: The regular runtime cache backend.

Overrides NullBackend::__construct

File

core/lib/Drupal/Core/Update/UpdateBackend.php, line 29

Class

UpdateBackend
Defines a cache backend for use during Drupal database updates.

Namespace

Drupal\Core\Update

Code

public function __construct(CacheBackendInterface $backend) {
  $this->backend = $backend;
}