You are here

class LdapNewUserCreatedEvent in Lightweight Directory Access Protocol (LDAP) 8.4

LDAP User created event.

Hierarchy

Expanded class hierarchy of LdapNewUserCreatedEvent

2 files declare their use of LdapNewUserCreatedEvent
LdapEntryProvisionSubscriber.php in ldap_user/src/EventSubscriber/LdapEntryProvisionSubscriber.php
ldap_user.module in ldap_user/ldap_user.module

File

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

Namespace

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

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

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

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

}

Members