public function LdapUserMappingBaseForm::__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 ConfigFormBase::__construct
2 calls to LdapUserMappingBaseForm::__construct()
- LdapUserMappingToDrupalForm::__construct in ldap_user/
src/ Form/ LdapUserMappingToDrupalForm.php - Constructs a \Drupal\system\ConfigFormBase object.
- LdapUserMappingToLdapForm::__construct in ldap_user/
src/ Form/ LdapUserMappingToLdapForm.php - Constructs a \Drupal\system\ConfigFormBase object.
2 methods override LdapUserMappingBaseForm::__construct()
- LdapUserMappingToDrupalForm::__construct in ldap_user/
src/ Form/ LdapUserMappingToDrupalForm.php - Constructs a \Drupal\system\ConfigFormBase object.
- LdapUserMappingToLdapForm::__construct in ldap_user/
src/ Form/ LdapUserMappingToLdapForm.php - Constructs a \Drupal\system\ConfigFormBase object.
File
- ldap_user/
src/ Form/ LdapUserMappingBaseForm.php, line 74
Class
- LdapUserMappingBaseForm
- Provides the form to configure user configuration and field mapping.
Namespace
Drupal\ldap_user\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, EntityTypeManagerInterface $entity_type_manager, FieldProvider $field_provider) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->entityTypeManager = $entity_type_manager;
$this->fieldProvider = $field_provider;
$this->currentConfig = $this
->config('ldap_user.settings');
}