You are here

public function SimpleLdapUserEvent::__construct in Simple LDAP 8

SimpleLdapUserEvent constructor.

Parameters

\Drupal\simple_ldap_user\SimpleLdapUser $ldap_user:

\Drupal\user\UserInterface $drupal_user:

File

modules/simple_ldap_user/src/Events/SimpleLdapUserEvent.php, line 34

Class

SimpleLdapUserEvent

Namespace

Drupal\simple_ldap_user\Events

Code

public function __construct(SimpleLdapUser $ldap_user, UserInterface $drupal_user) {
  $this->ldapUser = $ldap_user;
  $this->drupalUser = $drupal_user;
}