You are here

public function EntityAvatarIdentifier::getEntity in Avatar Kit 8.2

Get the entity for this identifier.

Return value

\Drupal\Core\Entity\EntityInterface An entity.

Overrides EntityAvatarIdentifierInterface::getEntity

File

src/EntityAvatarIdentifier.php, line 27

Class

EntityAvatarIdentifier
An entity identifier.

Namespace

Drupal\avatars

Code

public function getEntity() : EntityInterface {
  return $this->entity;
}