You are here

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

Constructor.

Parameters

\Drupal\Core\Config\ConfigFactory $config_factory: Config factory.

\Psr\Log\LoggerInterface $logger: Logger.

\Drupal\ldap_servers\Logger\LdapDetailLog $detail_log: Detail log.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler.

\Drupal\ldap_servers\LdapUserManager $ldap_user_manager: LDAP user manager.

\Drupal\ldap_user\FieldProvider $field_provider: Field Provider.

\Drupal\Core\File\FileSystemInterface $file_system: File system.

File

ldap_user/src/EventSubscriber/LdapEntryProvisionSubscriber.php, line 137

Class

LdapEntryProvisionSubscriber
Event subscribers for creating and updating LDAP entries.

Namespace

Drupal\ldap_user\EventSubscriber

Code

public function __construct(ConfigFactory $config_factory, LoggerInterface $logger, LdapDetailLog $detail_log, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, LdapUserManager $ldap_user_manager, FieldProvider $field_provider, FileSystemInterface $file_system) {
  $this->config = $config_factory
    ->get('ldap_user.settings');
  $this->logger = $logger;
  $this->detailLog = $detail_log;
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->ldapUserManager = $ldap_user_manager;
  $this->fieldProvider = $field_provider;
  $this->fileSystem = $file_system;
}