function UpdateCacheBackendFactory::get
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php \Drupal\Core\Update\UpdateCacheBackendFactory::get()
- 10 core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php \Drupal\Core\Update\UpdateCacheBackendFactory::get()
- 11.x core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php \Drupal\Core\Update\UpdateCacheBackendFactory::get()
Overrides CacheFactoryInterface::get
File
-
core/
lib/ Drupal/ Core/ Update/ UpdateCacheBackendFactory.php, line 44
Class
- UpdateCacheBackendFactory
- Cache factory implementation for use during Drupal database updates.
Namespace
Drupal\Core\UpdateCode
public function get($bin) {
if (!isset($this->bins[$bin])) {
$this->bins[$bin] = new UpdateBackend($this->cacheFactory
->get($bin), $bin);
}
return $this->bins[$bin];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.