You are here

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\AvatarGenerator

Code

public function defaultConfiguration() {
  return [
    'type' => '',
    'background' => '',
  ];
}