In many circumstances it would help to know the bundle of the cached object, e.g. when using EntityCache_Flush to clear all content when a content type is modified it makes sense to be able to clear the cache for all nodes of that content type (bundle) rather than having to clear the entire node cache.

Comments

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

The problem with this is doing a node load for example, you'd need to know ahead of time which bundles correspond with the entity IDs you are given, because you are not provided bundles. I'm not sure how this would be possible.

skwashd’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (won't fix)

I agree with @DaveReid on this one. There has been no followup from @DamienMcKenna to justify this change. Marking as WONTFIX.

DamienMcKenna’s picture

Yeah... without something like working CacheTags solution, this won't be overly viable. Thanks.