You are here

public function SimpleLdapUserSettingsForm::__construct in Simple LDAP 8

Overwrite default constructor so we can also grab the server.

Overrides ConfigFormBase::__construct

File

modules/simple_ldap_user/src/Form/SimpleLdapUserSettingsForm.php, line 31

Class

SimpleLdapUserSettingsForm

Namespace

Drupal\simple_ldap_user\Form

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  parent::__construct($config_factory);
  $this->server = \Drupal::service('simple_ldap.server');
}