public static function Gravatar::getTypesMap in Avatar Kit 8
Avatar types mapped to 'd' GET values.
Return value
array An array of GET values keyed by type.
Overrides GravatarInterface::getTypesMap
2 calls to Gravatar::getTypesMap()
- Gravatar::getFallbackTypes in avatars_gravatar/
src/ Gravatar.php - Valid fallback types for when 'gravatar' is the primary type.
- Gravatar::getUrl in avatars_gravatar/
src/ Gravatar.php - Gets the URL for the avatar.
File
- avatars_gravatar/
src/ Gravatar.php, line 79
Class
- Gravatar
- Implements the Gravatar.com API.
Namespace
Drupal\avatars_gravatarCode
public static function getTypesMap() {
return [
'gravatar' => 'gravatar',
'mysteryman' => 'mysteryman',
'identicon' => 'identicon',
'monsterid' => 'monsterid',
'wavatar' => 'wavatar',
'retro' => 'retro',
'blank' => 'blank',
'404' => 404,
];
}