The cache service is not named properly in services.yml file here is an example of declaration in jsonapi module in core.
cache.jsonapi_normalizations:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
arguments: [jsonapi_normalizations]| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 3083203-13.patch | 1.42 KB | jibran |
Comments
Comment #2
jibranHere is the patch.
Comment #4
jibranLet's fix the fail.
Comment #6
jibranComment #8
jibranFiled #3083313: Fix the failing HEAD so restoring the patch from #2.
Comment #9
chr.fritschNeeds a reroll
Comment #10
jibranI retested the patch in #2. Let me upload it again,
Comment #11
jibranComment #12
chr.fritschThanks @jibran. I have one thing where I am not 100% sure. I think because we are changing the service definitions, we have to add an empty post_update function to trigger a cache rebuild.
What do you think?
Comment #13
jibranYes, that is correct we do need an update hook so here we go.
Comment #14
chr.fritschThank you
Comment #16
chr.fritschDone