UseCacheBackendTrait::$cacheBackend

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php \Drupal\Core\Cache\UseCacheBackendTrait::cacheBackend
  2. 8.9.x core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php \Drupal\Core\Cache\UseCacheBackendTrait::cacheBackend
  3. 10 core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php \Drupal\Core\Cache\UseCacheBackendTrait::cacheBackend

Cache backend instance.

Type: \Drupal\Core\Cache\CacheBackendInterface

File

core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php, line 15

Class

UseCacheBackendTrait
Provides methods to use a cache backend while respecting a 'use caches' flag.

Namespace

Drupal\Core\Cache

Code

protected $cacheBackend;

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