class LdapUserLoginEvent in Lightweight Directory Access Protocol (LDAP) 8.4
LDAP User login event.
Hierarchy
- class \Drupal\ldap_user\Event\LdapUserLoginEvent extends \Drupal\Component\EventDispatcher\Event
Expanded class hierarchy of LdapUserLoginEvent
3 files declare their use of LdapUserLoginEvent
- DrupalUserProcessor.php in ldap_user/
src/ Processor/ DrupalUserProcessor.php - LdapEntryProvisionSubscriber.php in ldap_user/
src/ EventSubscriber/ LdapEntryProvisionSubscriber.php - LdapEntryProvisionTest.php in ldap_user/
tests/ src/ Kernel/ LdapEntryProvisionTest.php
File
- ldap_user/
src/ Event/ LdapUserLoginEvent.php, line 16
Namespace
Drupal\ldap_user\EventView source
class LdapUserLoginEvent extends Event {
/**
* Event name.
*
* @var string
*/
public const EVENT_NAME = 'ldap_user_login';
/**
* Account.
*
* @var \Drupal\user\Entity\User
*/
public $account;
/**
* Constructor.
*
* @param \Drupal\user\UserInterface $account
* Account.
*/
public function __construct(UserInterface $account) {
$this->account = $account;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LdapUserLoginEvent:: |
public | property | Account. | |
LdapUserLoginEvent:: |
public | constant | Event name. | |
LdapUserLoginEvent:: |
public | function | Constructor. |