You are here

public static function AvatarBaseInterface::getTypes in Avatar Kit 8

Gets list of avatar types provided by this API.

Return value

string[] An array of type labels, keyed by type.

1 call to AvatarBaseInterface::getTypes()
AvatarBase::setType in src/AvatarBase.php
Sets the avatar type.
3 methods override AvatarBaseInterface::getTypes()
Adorable::getTypes in avatars_adorable/src/Adorable.php
Gets list of avatar types provided by this API.
Gravatar::getTypes in avatars_gravatar/src/Gravatar.php
Gets list of avatar types provided by this API.
Robohash::getTypes in avatars_robohash/src/Robohash.php
Gets list of avatar types provided by this API.

File

src/AvatarBaseInterface.php, line 68

Class

AvatarBaseInterface
Interface for Avatar APIs.

Namespace

Drupal\avatars

Code

public static function getTypes();