You are here

public static function UserSyncEventSubscriber::getSubscribedEvents in SAML Authentication 8.3

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/UserSyncEventSubscriber.php \Drupal\samlauth\EventSubscriber\UserSyncEventSubscriber::getSubscribedEvents()
  2. 4.x src/EventSubscriber/UserSyncEventSubscriber.php \Drupal\samlauth\EventSubscriber\UserSyncEventSubscriber::getSubscribedEvents()

File

src/EventSubscriber/UserSyncEventSubscriber.php, line 114

Class

UserSyncEventSubscriber
Event subscriber that synchronizes user properties on a user_sync event.

Namespace

Drupal\samlauth\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[SamlauthEvents::USER_SYNC][] = [
    'onUserSync',
  ];
  return $events;
}