UseCacheBackendTrait::$useCaches
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php \Drupal\Core\Cache\UseCacheBackendTrait::useCaches
- 10 core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php \Drupal\Core\Cache\UseCacheBackendTrait::useCaches
- 11.x 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\CacheCode
protected $useCaches = TRUE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.