You are here

public function LdapSsoAdminForm::__construct in LDAP Single Sign On 8

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

LdapSettingsForm constructor.

Overrides ConfigFormBase::__construct

File

src/Form/LdapSsoAdminForm.php, line 30

Class

LdapSsoAdminForm
Provides the configuration form SSO under LDAP configuration.

Namespace

Drupal\ldap_sso\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ServerFactory $serverFactory, EntityTypeManager $entity_type_manager) {
  parent::__construct($config_factory);
  $this->serverFactory = $serverFactory;
  $this->storage = $entity_type_manager
    ->getStorage('ldap_server');
}