public function GroupUserUpdateProcessor::__construct in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_user/src/Processor/GroupUserUpdateProcessor.php \Drupal\ldap_user\Processor\GroupUserUpdateProcessor::__construct()
Constructor for update process.
File
- ldap_user/
src/ Processor/ GroupUserUpdateProcessor.php, line 34
Class
- GroupUserUpdateProcessor
- Provides functionality to generically update existing users.
Namespace
Drupal\ldap_user\ProcessorCode
public function __construct(LoggerInterface $logger, LdapDetailLog $detail_log, ConfigFactory $config, ServerFactory $factory, StateInterface $state, ModuleHandler $module_handler, EntityTypeManagerInterface $entity_type_manager) {
$this->logger = $logger;
$this->detailLog = $detail_log;
$this->config = $config
->get('ldap_user.settings');
$this->ldapServerFactory = $factory;
$this->ldapDrupalUserProcessor = new DrupalUserProcessor();
$this->ldapServer = $this->ldapServerFactory
->getServerByIdEnabled($this->config
->get('drupalAcctProvisionServer'));
$this->state = $state;
$this->moduleHandler = $module_handler;
$this->entityTypeManager = $entity_type_manager;
}