public function AvatarGeneratorBase::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.
Overrides AvatarGeneratorPluginInterface::generateUri
8 methods override AvatarGeneratorBase::generateUri()
- Adorable::generateUri in avatars_adorable/
src/ Plugin/ AvatarGenerator/ Adorable.php - Creates a URI to an avatar.
- Broken::generateUri in src/
Plugin/ AvatarGenerator/ Broken.php - Creates a URI to an avatar.
- DynamicTestGenerator::generateUri in tests/
modules/ avatars_test/ src/ Plugin/ AvatarGenerator/ DynamicTestGenerator.php - Creates a URI to an avatar.
- Gravatar::generateUri in avatars_gravatar/
src/ Plugin/ AvatarGenerator/ Gravatar.php - Creates a URI to an avatar.
- GravatarGenerator::generateUri in avatars_gravatar/
src/ Plugin/ AvatarGenerator/ GravatarGenerator.php - Creates a URI to an avatar.
File
- src/
Plugin/ AvatarGenerator/ AvatarGeneratorBase.php, line 105
Class
- AvatarGeneratorBase
- AvatarGenerator plugin base class.
Namespace
Drupal\avatars\Plugin\AvatarGeneratorCode
public function generateUri(AccountInterface $account) {
return NULL;
}