You are here

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

@uses LdapEntryDeletionSubscriber::deleteProvisionedLdapEntry()

File

ldap_user/src/EventSubscriber/LdapEntryDeletionSubscriber.php, line 65

Class

LdapEntryDeletionSubscriber
Delete LDAP entry.

Namespace

Drupal\ldap_user\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  $events[LdapUserDeletedEvent::EVENT_NAME] = [
    'deleteProvisionedLdapEntry',
  ];
  return $events;
}