You are here

public function AvatarBase::getType in Avatar Kit 8

Gets the avatar type.

Return value

string Avatar type.

Overrides AvatarBaseInterface::getType

2 calls to AvatarBase::getType()
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/AvatarBase.php, line 108

Class

AvatarBase
Abstract class for Avatar APIs.

Namespace

Drupal\avatars

Code

public function getType() {
  return $this->type;
}