You are here

class LdapUserDeletedEvent in Lightweight Directory Access Protocol (LDAP) 8.4

LDAP User deleted event.

Hierarchy

Expanded class hierarchy of LdapUserDeletedEvent

2 files declare their use of LdapUserDeletedEvent
LdapEntryDeletionSubscriber.php in ldap_user/src/EventSubscriber/LdapEntryDeletionSubscriber.php
ldap_user.module in ldap_user/ldap_user.module

File

ldap_user/src/Event/LdapUserDeletedEvent.php, line 16

Namespace

Drupal\ldap_user\Event
View source
class LdapUserDeletedEvent extends Event {

  /**
   * Event name.
   *
   * @var string
   */
  public const EVENT_NAME = 'ldap_drupal_user_deleted';

  /**
   * Account.
   *
   * @var \Drupal\user\Entity\User
   */
  public $account;

  /**
   * Constructor.
   *
   * @param \Drupal\user\UserInterface $account
   *   Account.
   */
  public function __construct(UserInterface $account) {
    $this->account = $account;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
LdapUserDeletedEvent::$account public property Account.
LdapUserDeletedEvent::EVENT_NAME public constant Event name.
LdapUserDeletedEvent::__construct public function Constructor.