You are here

public function UpdateCacheBackendFactory::__construct in Drupal 9

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

UpdateCacheBackendFactory constructor.

Parameters

\Drupal\Core\Cache\CacheFactoryInterface $cache_factory: The regular runtime cache_factory service.

File

core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php, line 37

Class

UpdateCacheBackendFactory
Cache factory implementation for use during Drupal database updates.

Namespace

Drupal\Core\Update

Code

public function __construct(CacheFactoryInterface $cache_factory) {
  $this->cacheFactory = $cache_factory;
}