You are here

public function AvatarKitEntityFieldHandlerInterface::checkUpdates in Avatar Kit 8.2

Checks if there are updates to the first avatar for an entity.

If an entity doesn't have an entity yet, it may get one. If it is not time to check for updates, then we will not check.

Parameters

\Drupal\Core\Entity\FieldableEntityInterface $entity: Check this avatar if it needs a new avatar.

1 method overrides AvatarKitEntityFieldHandlerInterface::checkUpdates()
AvatarKitEntityFieldHandler::checkUpdates in src/AvatarKitEntityFieldHandler.php
Checks if there are updates to the first avatar for an entity.

File

src/AvatarKitEntityFieldHandlerInterface.php, line 34

Class

AvatarKitEntityFieldHandlerInterface
Handles pushing avatar caches into entities.

Namespace

Drupal\avatars

Code

public function checkUpdates(FieldableEntityInterface $entity) : void;