LdapUserDeletedEvent.php in Lightweight Directory Access Protocol (LDAP) 8.4
File
ldap_user/src/Event/LdapUserDeletedEvent.php
View source
<?php
declare (strict_types=1);
namespace Drupal\ldap_user\Event;
use Drupal\user\UserInterface;
if (!class_exists('Drupal\\Component\\EventDispatcher\\Event')) {
class_alias('Symfony\\Component\\EventDispatcher\\Event', 'Drupal\\Component\\EventDispatcher\\Event');
}
use Drupal\Component\EventDispatcher\Event;
class LdapUserDeletedEvent extends Event {
public const EVENT_NAME = 'ldap_drupal_user_deleted';
public $account;
public function __construct(UserInterface $account) {
$this->account = $account;
}
}