Cache context ID: 'site'.
The correct ID of this context is 'url.site'.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2979166-5.patch | 606 bytes | rajeevk |
Cache context ID: 'site'.
The correct ID of this context is 'url.site'.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2979166-5.patch | 606 bytes | rajeevk |
Comments
Comment #2
lomasr commentedAs per the working example
cache_context.url.site:
class: Drupal\Core\Cache\Context\SiteCacheContext
arguments: ['@request_stack']
tags:
I think it should be 'url.site'
Comment #3
lomasr commentedComment #4
chi commented@lomasr, there is no patch to review
Comment #5
rajeevkAttaching patch as per @ lomasr comment
Comment #6
lomasr commented#4 My Mistake. I should have marked it "need work".
Comment #7
chi commentedThanks.
Comment #8
gábor hojtsyComment #11
gábor hojtsyGood catch, thanks!