Entity cache flusher

Component ID

1177112

Component name

Entity cache flusher

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

4181

Component created

Component changed

Component body

Add on for the Entity cache module which caches entities in cache tables for faster retrieval. Entity cache implements hooks to flush them when needed, however, not all use cases are supported. This module tries to fill that gap for both core and contrib, keeping the original module as clean as possible.

Support

  • Username and avatar change
  • Node type insert/update/delete
  • Webform v3 components, e-mails and configuration form

There's probably more, please submit requests (and patches!) in the queue.

API

You can use the API functions in the module for any custom functionality you write that doesn't belong in this module.

  • entitycache_flush_add_submit_handler(&$form, $entity_type, $id);
  • entitycache_flush_clear_cache($entity_type, $ids, $wildcard);