You are here

public static function AvatarKitDefaultPreferenceSubscriber::getSubscribedEvents in Avatar Kit 8.2

File

src/EventSubscriber/AvatarKitDefaultPreferenceSubscriber.php, line 35

Class

AvatarKitDefaultPreferenceSubscriber
Subscriber for preference events.

Namespace

Drupal\avatars\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[AvatarKitEvents::ENTITY_SERVICE_PREFERENCE][] = [
    'avatarServiceWeights',
    0,
  ];
  return $events;
}