function UpdateCacheBackendFactory::__construct

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php \Drupal\Core\Update\UpdateCacheBackendFactory::__construct()
  2. 10 core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php \Drupal\Core\Update\UpdateCacheBackendFactory::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.