You are here

public static function LdapEntryProvisionSubscriber::getSubscribedEvents in Lightweight Directory Access Protocol (LDAP) 8.4

File

ldap_user/src/EventSubscriber/LdapEntryProvisionSubscriber.php, line 159

Class

LdapEntryProvisionSubscriber
Event subscribers for creating and updating LDAP entries.

Namespace

Drupal\ldap_user\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  $events[LdapUserLoginEvent::EVENT_NAME] = [
    'login',
  ];
  $events[LdapNewUserCreatedEvent::EVENT_NAME] = [
    'userCreated',
  ];
  $events[LdapUserUpdatedEvent::EVENT_NAME] = [
    'userUpdated',
  ];
  return $events;
}