You are here

public function DrupalUserProcessor::__construct in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_user/src/Processor/DrupalUserProcessor.php \Drupal\ldap_user\Processor\DrupalUserProcessor::__construct()

Constructor.

File

ldap_user/src/Processor/DrupalUserProcessor.php, line 63

Class

DrupalUserProcessor
Handles processing of a user from LDAP to Drupal.

Namespace

Drupal\ldap_user\Processor

Code

public function __construct() {
  $this->config = \Drupal::config('ldap_user.settings');
  $this->factory = \Drupal::service('ldap.servers');
  $this->detailLog = \Drupal::service('ldap.detail_log');
  $this->tokenProcessor = \Drupal::service('ldap.token_processor');
}