You are here

public function EntityAvatarIdentifierProxy::__construct in Avatar Kit 8.2

Creates a new EntityAvatarIdentifierProxy object.

Parameters

\dpi\ak\AvatarIdentifierInterface $identifier: An avatar identifier object.

File

src/EntityAvatarIdentifierProxy.php, line 30

Class

EntityAvatarIdentifierProxy
Wraps an avatar identifier object with Drupal entity support.

Namespace

Drupal\avatars

Code

public function __construct(AvatarIdentifierInterface $identifier) {
  $this->original = $identifier;
}