public function AvatarPreviewInterface::getAvatar in Avatar Kit 8
Get associated avatar file.
Return value
\Drupal\file\FileInterface|null A file entity.
1 method overrides AvatarPreviewInterface::getAvatar()
- AvatarPreview::getAvatar in src/
Entity/ AvatarPreview.php - Get associated avatar file.
File
- src/
AvatarPreviewInterface.php, line 105
Class
- AvatarPreviewInterface
- Provides an interface for the avatar preview entity.
Namespace
Drupal\avatarsCode
public function getAvatar();