public static function Robohash::getTypesMap in Avatar Kit 8
Avatar types mapped to GET values.
Return value
array An array of GET values keyed by type.
Overrides RobohashInterface::getTypesMap
1 call to Robohash::getTypesMap()
- Robohash::getUrl in avatars_robohash/src/ Robohash.php 
- Gets the URL for the avatar.
File
- avatars_robohash/src/ Robohash.php, line 94 
Class
- Robohash
- Implements the Robohash.org API.
Namespace
Drupal\avatars_robohashCode
public static function getTypesMap() {
  return [
    'robot' => 1,
    'monster' => 2,
    'robot_head' => 3,
  ];
}