public function AvatarKitCommonService::getAvatar in Avatar Kit 8.2
File
- src/
Plugin/ Avatars/ Service/ AvatarKitCommonService.php, line 183
Class
- AvatarKitCommonService
- Automatically creates services based on plugins from Avatar Kit library.
Namespace
Drupal\avatars\Plugin\Avatars\ServiceCode
public function getAvatar(AvatarIdentifierInterface $identifier) : ?string {
return $this
->getService()
->getAvatar($identifier);
}