You are here

protected property UseCacheBackendTrait::$useCaches in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php \Drupal\Core\Cache\UseCacheBackendTrait::useCaches
  2. 9 core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php \Drupal\Core\Cache\UseCacheBackendTrait::useCaches

Flag whether caches should be used or skipped.

Type: bool

File

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

Class

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

Namespace

Drupal\Core\Cache

Code

protected $useCaches = TRUE;