public function AvatarPreviewInterface::setAvatarGeneratorId in Avatar Kit 8
Set avatar generator plugin ID.
Parameters
string $avatar_generator: An avatar generator plugin ID.
Return value
\Drupal\avatars\AvatarPreviewInterface Return avatar preview for chaining.
1 method overrides AvatarPreviewInterface::setAvatarGeneratorId()
- AvatarPreview::setAvatarGeneratorId in src/
Entity/ AvatarPreview.php - Set avatar generator plugin ID.
File
- src/
AvatarPreviewInterface.php, line 78
Class
- AvatarPreviewInterface
- Provides an interface for the avatar preview entity.
Namespace
Drupal\avatarsCode
public function setAvatarGeneratorId($avatar_generator);