CacheFactory::$defaultBinBackends
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/CacheFactory.php \Drupal\Core\Cache\CacheFactory::defaultBinBackends
- 10 core/lib/Drupal/Core/Cache/CacheFactory.php \Drupal\Core\Cache\CacheFactory::defaultBinBackends
- 11.x core/lib/Drupal/Core/Cache/CacheFactory.php \Drupal\Core\Cache\CacheFactory::defaultBinBackends
A map of cache bin to default cache backend service name.
All mappings in $settings takes precedence over this, but this can be used to optimize cache storage for a Drupal installation without cache customizations in settings.php. For example, this can be used to map the 'bootstrap' bin to 'cache.backend.chainedfast', while allowing other bins to fall back to the global default of 'cache.backend.database'.
Type: array
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheFactory.php, line 34
Class
Namespace
Drupal\Core\CacheCode
protected $defaultBinBackends;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.