You are here

public function LdapUserMappingToLdapForm::__construct in Lightweight Directory Access Protocol (LDAP) 8.4

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides LdapUserMappingBaseForm::__construct

File

ldap_user/src/Form/LdapUserMappingToLdapForm.php, line 39

Class

LdapUserMappingToLdapForm
Provides the form to configure user configuration and field mapping.

Namespace

Drupal\ldap_user\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, EntityTypeManagerInterface $entity_type_manager, FieldProvider $field_provider) {
  parent::__construct($config_factory, $module_handler, $entity_type_manager, $field_provider);
  $this->server = $this->currentConfig
    ->get('ldapEntryProvisionServer');
}