You are here

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

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

Constructor.

Parameters

array $values: Values.

string $entity_type: Entity Type.

Overrides ConfigEntityBase::__construct

File

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

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');
}