public function LdapEntryDeletionSubscriber::__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\LdapUserManager $ldap_user_manager: LDAP user manager.
File
- ldap_user/
src/ EventSubscriber/ LdapEntryDeletionSubscriber.php, line 50
Class
- LdapEntryDeletionSubscriber
- Delete LDAP entry.
Namespace
Drupal\ldap_user\EventSubscriberCode
public function __construct(ConfigFactory $config_factory, LoggerInterface $logger, LdapUserManager $ldap_user_manager) {
$this->config = $config_factory
->get('ldap_user.settings');
$this->logger = $logger;
$this->ldapUserManager = $ldap_user_manager;
}