You are here

public function LdapAuthenticationAdminForm::__construct in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_authentication/src/Form/LdapAuthenticationAdminForm.php \Drupal\ldap_authentication\Form\LdapAuthenticationAdminForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

ldap_authentication/src/Form/LdapAuthenticationAdminForm.php, line 40

Class

LdapAuthenticationAdminForm
Provides the form for ldap_authentication options.

Namespace

Drupal\ldap_authentication\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ServerFactory $ldap_servers, ModuleHandler $module_handler) {
  parent::__construct($config_factory);
  $this->serverFactory = $ldap_servers;
  $this->moduleHandler = $module_handler;
}