You are here

public function AvatarGeneratorBase::defaultConfiguration in Avatar Kit 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to AvatarGeneratorBase::defaultConfiguration()
AvatarGeneratorBase::__construct in src/Plugin/AvatarGenerator/AvatarGeneratorBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
3 methods override AvatarGeneratorBase::defaultConfiguration()
Gravatar::defaultConfiguration in avatars_gravatar/src/Plugin/AvatarGenerator/Gravatar.php
Gets default configuration for this plugin.
GravatarGenerator::defaultConfiguration in avatars_gravatar/src/Plugin/AvatarGenerator/GravatarGenerator.php
Gets default configuration for this plugin.
Robohash::defaultConfiguration in avatars_robohash/src/Plugin/AvatarGenerator/Robohash.php
Gets default configuration for this plugin.

File

src/Plugin/AvatarGenerator/AvatarGeneratorBase.php, line 25

Class

AvatarGeneratorBase
AvatarGenerator plugin base class.

Namespace

Drupal\avatars\Plugin\AvatarGenerator

Code

public function defaultConfiguration() {
  return [];
}