Extend updates to all fieldable entities

Created on 26 March 2024, 3 months ago

Why using "node" entity_type in your hooks, why not go with hook_entity_delete / hook_entity_update / hook_entity_insert instead, therefore you could trigger cache invalidate for other entity types

Then in function cacherefs_clear($entity), it would still make sense by using $entity->getEntityTypeId() and $entity->bundle() instead of node and getType()

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada kiwad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024