You are here

public function AvatarKitLocalCacheInterface::invalidateCaches in Avatar Kit 8.2

Determines if caches for an entity need to be invalidated.

Used when an entity is modified.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity to invalidate.

1 method overrides AvatarKitLocalCacheInterface::invalidateCaches()
AvatarKitLocalCache::invalidateCaches in src/AvatarKitLocalCache.php
Determines if caches for an entity need to be invalidated.

File

src/AvatarKitLocalCacheInterface.php, line 82

Class

AvatarKitLocalCacheInterface
Cache remote files locally into file entities.

Namespace

Drupal\avatars

Code

public function invalidateCaches(EntityInterface $entity) : void;