public function AvatarGeneratorPluginInterface::generateUri in Avatar Kit 8
Creates a URI to an avatar.
Parameters
\Drupal\Core\Session\AccountInterface $account: A user account.
Return value
string URI to an image file.
1 method overrides AvatarGeneratorPluginInterface::generateUri()
- AvatarGeneratorBase::generateUri in src/
Plugin/ AvatarGenerator/ AvatarGeneratorBase.php - Creates a URI to an avatar.
File
- src/
Plugin/ AvatarGenerator/ AvatarGeneratorPluginInterface.php, line 45
Class
- AvatarGeneratorPluginInterface
- Interface for AvatarGenerator plugins.
Namespace
Drupal\avatars\Plugin\AvatarGeneratorCode
public function generateUri(AccountInterface $account);