Deletes items from all bins with any of the specified tags.
Many sites have more than one active cache backend, and each backend may use a different strategy for storing tags against cache items, and deleting cache items associated with a given tag.
When deleting a given list of tags, we iterate over each cache backend, and and call deleteTags() on each.
array $tags: The list of tags to delete cache items for.
function cache_delete_tags(array $tags) {
foreach (CacheFactory::getBackends() as $bin => $class) {
cache($bin)
->deleteTags($tags);
}
}