You are here

public static function Adorable::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.

Overrides AvatarBaseInterface::getTypes

File

avatars_adorable/src/Adorable.php, line 34

Class

Adorable
Implements the Adorable.io API.

Namespace

Drupal\avatars_adorable

Code

public static function getTypes() {
  return [
    'adorable' => 'Adorables',
  ];
}