You are here

public function AvatarBaseInterface::getUrl in Avatar Kit 8

Gets the URL for the avatar.

Return value

string A URL for an avatar.

Throws

\Drupal\avatars\Exception\AvatarException Thrown if missing parameters.

3 methods override AvatarBaseInterface::getUrl()
Adorable::getUrl in avatars_adorable/src/Adorable.php
Gets the URL for the avatar.
Gravatar::getUrl in avatars_gravatar/src/Gravatar.php
Gets the URL for the avatar.
Robohash::getUrl in avatars_robohash/src/Robohash.php
Gets the URL for the avatar.

File

src/AvatarBaseInterface.php, line 152

Class

AvatarBaseInterface
Interface for Avatar APIs.

Namespace

Drupal\avatars

Code

public function getUrl();