It would be very cool if this module worked together with Entity API: http://drupal.org/project/entity.
There's an Entity API issue here: #1111120: Support for EntityCache which I've posted a basic start at an idea - which is to make persistent caching something that can be delegated.
The patch there (#3) allows EntityCacheControllerHelper
to be passed as the value of the 'entity cache' in hook_entity_info_alter()
to enable it to 'just work', I think. I haven't put much thought into exactly what needs to exist in the Persistent Cache handler and what needs to exist in the load method itself, but it seems to work with what this module, and entity API has at the moment.
Comment | File | Size | Author |
---|---|---|---|
#1 | entitycache-1165930-1-support-for-entity-api.no-prefix.patch | 1.42 KB | jamsilver |
Comments
Comment #1
jamsilver CreditAttribution: jamsilver commentedTo allow the current EntityCacheControllerHelper to be passed as a cache plugin, the protected methods on it need to be changed to public. I'll attach a patch which achieves that, but I'm not suggesting that this is the best way forward.
Be interesting what you guys think?
Comment #2
catchI'm fine with making these public functions, so I went ahead and committed this, if more is needed we can look at that later.
Comment #3.0
Elijah Lynncorrectly linking linked issue and resaving to update status
Comment #3.1
Elijah LynnUpdated issue summary.