Marks cache items from all bins with any of the specified tags as invalid.
Many sites have more than one active cache backend, and each backend my use a different strategy for storing tags against cache items, and invalidating cache items associated with a given tag.
When invalidating a given list of tags, we iterate over each cache backend, and call invalidateTags() on each.
array $tags: The list of tags to invalidate cache items for.
public static function invalidateTags(array $tags) {
foreach (static::getBins() as $cache_backend) {
$cache_backend
->invalidateTags($tags);
}
}