CacheFactory::$defaultBinBackends

protected property 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

CacheFactory

Namespace

Drupal\Core\Cache

Code

protected $defaultBinBackends;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!CacheFactory.php/property/CacheFactory::defaultBinBackends/8.1.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部