public function OrphanProcessor::__construct in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_user/src/Processor/OrphanProcessor.php \Drupal\ldap_user\Processor\OrphanProcessor::__construct()
Constructor.
File
- ldap_user/
src/ Processor/ OrphanProcessor.php, line 34
Class
- OrphanProcessor
- Locates potential orphan user accounts.
Namespace
Drupal\ldap_user\ProcessorCode
public function __construct(LoggerInterface $logger, ConfigFactory $config, ServerFactory $factory, MailManagerInterface $mail_manager, LanguageManagerInterface $language_manager, StateInterface $state, EntityTypeManagerInterface $entity_type_manager) {
$this->logger = $logger;
$this->configFactory = $config;
$this->configLdapUser = $config
->get('ldap_user.settings');
$this->enabledServers = $factory
->getEnabledServers();
$this->mailManager = $mail_manager;
$this->languageManager = $language_manager;
$this->state = $state;
$this->entityTypeManager = $entity_type_manager;
}