public function AvatarKitEntityFieldPreferenceSubscriber::__construct in Avatar Kit 8.2
Constructs a new AvatarKitEntityFieldPreferenceSubscriber.
Parameters
\Drupal\avatars\AvatarKitEntityFieldHandlerInterface $entityFieldHandler: The avatar entity field handler.
File
- src/
EventSubscriber/ AvatarKitEntityFieldPreferenceSubscriber.php, line 29
Class
- AvatarKitEntityFieldPreferenceSubscriber
- Subscriber for preference events.
Namespace
Drupal\avatars\EventSubscriberCode
public function __construct(AvatarKitEntityFieldHandlerInterface $entityFieldHandler) {
$this->entityFieldHandler = $entityFieldHandler;
}