public function AvatarManagerInterface::refreshAllAvatars in Avatar Kit 8
Downloads all avatar previews for a user.
Parameters
\Drupal\user\UserInterface $user: A user entity.
Return value
\Drupal\avatars\AvatarPreviewInterface[] An array of refreshed avatar preview entities.
1 method overrides AvatarManagerInterface::refreshAllAvatars()
- AvatarManager::refreshAllAvatars in src/
AvatarManager.php - Downloads all avatar previews for a user.
File
- src/
AvatarManagerInterface.php, line 58
Class
- AvatarManagerInterface
- Provides an interface to the avatar manager service.
Namespace
Drupal\avatarsCode
public function refreshAllAvatars(UserInterface $user);