public static function Robohash::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_robohash/
src/ Robohash.php, line 83
Class
- Robohash
- Implements the Robohash.org API.
Namespace
Drupal\avatars_robohashCode
public static function getTypes() {
return [
'robot' => 'Robot',
'monster' => 'Monster',
'robot_head' => 'Robot Head',
];
}