Skip to content
Snippets Groups Projects
Verified Commit 28aebfd6 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #2820580 by anavarre, hardikpandya, Wim Leers, Berdir, cilefen: Drupal...

Issue #2820580 by anavarre, hardikpandya, Wim Leers, Berdir, cilefen: Drupal >=8.2.x doesn't allow to override all cache bins with $settings['cache']['default'] anymore, documentation says otherwise
parent 6b1c5e3d
No related branches found
No related tags found
No related merge requests found
...@@ -584,9 +584,10 @@ ...@@ -584,9 +584,10 @@
* *
* @section configuration Configuration * @section configuration Configuration
* *
* By default cached data is stored in the database. This can be configured * By default, cached data is stored in the database. However, Drupal can be
* though so that all cached data, or that of an individual cache bin, uses a * configured to use a different backend (specified in their service
* different cache backend, such as APCu or Memcache, for storage. * definition), e.g. APCu or Memcache. This configuration can nominate a
* different backend for all cached data or for specific cache bins.
* *
* In a settings.php file, you can override the service used for a particular * In a settings.php file, you can override the service used for a particular
* cache bin. For example, if your service implementation of * cache bin. For example, if your service implementation of
......
...@@ -23,11 +23,11 @@ class CacheFactory implements CacheFactoryInterface, ContainerAwareInterface { ...@@ -23,11 +23,11 @@ class CacheFactory implements CacheFactoryInterface, ContainerAwareInterface {
/** /**
* A map of cache bin to default cache backend service name. * A map of cache bin to default cache backend service name.
* *
* All mappings in $settings takes precedence over this, but this can be used * All bin-specific mappings in $settings take precedence over this, but it
* to optimize cache storage for a Drupal installation without cache * can be used to optimize cache storage for a Drupal installation without
* customizations in settings.php. For example, this can be used to map the * cache customizations in settings.php. For example, this can be used to map
* 'bootstrap' bin to 'cache.backend.chainedfast', while allowing other bins * the 'bootstrap' bin to 'cache.backend.chainedfast', while allowing other
* to fall back to the global default of 'cache.backend.database'. * bins to fall back to the global default of 'cache.backend.database'.
* *
* @var array * @var array
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment