You are here

protected function AvatarKitCommonService::getMetadata in Avatar Kit 8.2

Gets metadata for a service from Avatar Kit library.

Return value

\dpi\ak\Annotation\AvatarService Metadata for a service from Avatar Kit library.

1 call to AvatarKitCommonService::getMetadata()
AvatarKitCommonService::buildConfigurationForm in src/Plugin/Avatars/Service/AvatarKitCommonService.php
Form constructor.

File

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

Class

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

Namespace

Drupal\avatars\Plugin\Avatars\Service

Code

protected function getMetadata() : AvatarService {
  $id = $this
    ->getDerivativeId();
  return $this->avatarKitServiceDiscovery
    ->getMetadata($id);
}