public function Robohash::defaultConfiguration in Avatar Kit 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides AvatarGeneratorBase::defaultConfiguration
File
- avatars_robohash/
src/ Plugin/ AvatarGenerator/ Robohash.php, line 30
Class
- Robohash
- Robohash avatar generator.
Namespace
Drupal\avatars_robohash\Plugin\AvatarGeneratorCode
public function defaultConfiguration() {
return [
'type' => '',
'background' => '',
];
}