You are here

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

Same name and namespace in other branches
  1. 8.4 ldap_servers/src/Entity/Server.php \Drupal\ldap_servers\Entity\Server::__construct()

Constructor.

Overrides ConfigEntityBase::__construct

File

ldap_servers/src/Entity/Server.php, line 124

Class

Server
Defines the Server entity.

Namespace

Drupal\ldap_servers\Entity

Code

public function __construct(array $values, $entity_type) {
  parent::__construct($values, $entity_type);
  $this->logger = \Drupal::logger('ldap_servers');
  $this->detailLog = \Drupal::service('ldap.detail_log');
  $this->tokenProcessor = \Drupal::service('ldap.token_processor');
  $this->moduleHandler = \Drupal::service('module_handler');
}