You are here

public static function AvatarKitEntityFieldPreferenceSubscriber::getSubscribedEvents in Avatar Kit 8.2

File

src/EventSubscriber/AvatarKitEntityFieldPreferenceSubscriber.php, line 61

Class

AvatarKitEntityFieldPreferenceSubscriber
Subscriber for preference events.

Namespace

Drupal\avatars\EventSubscriber

Code

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