public function Broken::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 AvatarGeneratorBase::generateUri
File
- src/
Plugin/ AvatarGenerator/ Broken.php, line 20
Class
- Broken
- Fallback plugin for missing AvatarGenerator plugins.
Namespace
Drupal\avatars\Plugin\AvatarGeneratorCode
public function generateUri(AccountInterface $account) {
return '';
}