function UpdateBackend::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Update/UpdateBackend.php \Drupal\Core\Update\UpdateBackend::__construct()
- 8.9.x core/lib/Drupal/Core/Update/UpdateBackend.php \Drupal\Core\Update\UpdateBackend::__construct()
- 11.x 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\UpdateCode
public function __construct(CacheBackendInterface $backend) {
$this->backend = $backend;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.