public function UpdateBackend::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Update/UpdateBackend.php \Drupal\Core\Update\UpdateBackend::__construct()
- 10 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;
}