Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291671

Add getInvalidations() method to CacheTagsChecksumInterface

$
0
0

Problem/Motivation

I tried to build a caching decorator for the default mysql cache tag invalidator.

But the 'consistent' backend only gives me a calculateChecksum method, while what I need are the current values for the tags.

Proposed resolution

- Add a getValues() method to the CacheTagsChecksumInterface

Remaining tasks

- Create patch
- Extend unit tests

User interface changes

* None

API changes

* Add getInvalidations(array $tags) method to the Interface and in core validators.


Viewing all articles
Browse latest Browse all 291671

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>