You are here

protected function AvatarKitCommonService::newAvatarConfiguration in Avatar Kit 8.2

Create a new configuration object.

Return value

\dpi\ak\AvatarConfigurationInterface A new configuration object.

1 call to AvatarKitCommonService::newAvatarConfiguration()
AvatarKitCommonService::getService in src/Plugin/Avatars/Service/AvatarKitCommonService.php
Create a service instance.

File

src/Plugin/Avatars/Service/AvatarKitCommonService.php, line 85

Class

AvatarKitCommonService
Automatically creates services based on plugins from Avatar Kit library.

Namespace

Drupal\avatars\Plugin\Avatars\Service

Code

protected function newAvatarConfiguration() : AvatarConfigurationInterface {
  return new AvatarConfiguration();
}