You are here

public static function UserRolesEventSubscriber::getSubscribedEvents in SAML Authentication 4.x

Same name and namespace in other branches
  1. 8.3 modules/samlauth_user_roles/src/EventSubscriber/UserRolesEventSubscriber.php \Drupal\samlauth_user_roles\EventSubscriber\UserRolesEventSubscriber::getSubscribedEvents()

File

modules/samlauth_user_roles/src/EventSubscriber/UserRolesEventSubscriber.php, line 67

Class

UserRolesEventSubscriber
Event subscriber for the samlauth_user_roles module.

Namespace

Drupal\samlauth_user_roles\EventSubscriber

Code

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