public function LdapAuthenticationAdminForm::__construct in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 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 59
Class
- LdapAuthenticationAdminForm
- Provides the form for ldap_authentication options.
Namespace
Drupal\ldap_authentication\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->entityTypeManager = $entity_type_manager;
$this->storage = $entity_type_manager
->getStorage('ldap_server');
}