You are here

public function AvatarKitEntityField::defaultConfiguration in Avatar Kit 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides AvatarKitServiceBase::defaultConfiguration

File

src/Plugin/Avatars/Service/AvatarKitEntityField.php, line 79

Class

AvatarKitEntityField
Gets avatar from a field in the same entity.

Namespace

Drupal\avatars\Plugin\Avatars\Service

Code

public function defaultConfiguration() : array {
  $configuration = parent::defaultConfiguration();
  $configuration['field'] = NULL;
  return $configuration;
}