public function AvatarManagerInterface::syncAvatar in Avatar Kit 8
Check user avatar for changes, and inserts the avatar into the user entity.
Parameters
\Drupal\user\UserInterface $user: A user entity.
1 method overrides AvatarManagerInterface::syncAvatar()
- AvatarManager::syncAvatar in src/
AvatarManager.php - Check user avatar for changes, and inserts the avatar into the user entity.
File
- src/
AvatarManagerInterface.php, line 19
Class
- AvatarManagerInterface
- Provides an interface to the avatar manager service.
Namespace
Drupal\avatarsCode
public function syncAvatar(UserInterface $user);