summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authorAlex Pott2015-03-30 16:29:41 (GMT)
committerAlex Pott2015-03-30 16:29:41 (GMT)
commit2847b5980b770c124a8f4442328b078629602f2c (patch)
tree3cf7ac724b07741865752b68c31939518471c9df /sites
parentea081822b41d2c3df67fbfc3151786970ae4472c (diff)
Issue #2453059 by Wim Leers: Set default render cache contexts: 'theme' + 'languages:' . LanguageInterface::TYPE_INTERFACE
Diffstat (limited to 'sites')
-rw-r--r--sites/default/default.services.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/sites/default/default.services.yml b/sites/default/default.services.yml
index 77e99cc..c44c73b 100644
--- a/sites/default/default.services.yml
+++ b/sites/default/default.services.yml
@@ -76,6 +76,14 @@ parameters:
# Not recommended in production environments
# @default true
cache: true
+ renderer.config:
+ # Renderer required cache contexts:
+ #
+ # The Renderer will automatically associate these cache contexts with every
+ # render array, hence varying every render array by these cache contexts.
+ #
+ # @default ['languages:language_interface', 'theme']
+ required_cache_contexts: ['languages:language_interface', 'theme']
factory.keyvalue:
{}
# Default key/value storage service to use.