You are here

public function AvatarKitEntityFieldHandler::__construct in Avatar Kit 8.2

Constructs a new AvatarKitEntityFieldHandler instance.

Parameters

\Drupal\avatars\AvatarKitEntityHandlerInterface $entityHandler: The avatar entity handler.

File

src/AvatarKitEntityFieldHandler.php, line 31

Class

AvatarKitEntityFieldHandler
Handles pushing avatar caches into entities.

Namespace

Drupal\avatars

Code

public function __construct(AvatarKitEntityHandlerInterface $entityHandler) {
  $this->entityHandler = $entityHandler;
}