You are here

protected function LdapUserMappingBaseForm::setSpecificMapping in Lightweight Directory Access Protocol (LDAP) 8.4

Set specific mapping.

Parameters

\Drupal\ldap_servers\Mapping $mapping: Mapping.

array $row: Row.

1 call to LdapUserMappingBaseForm::setSpecificMapping()
LdapUserMappingBaseForm::syncMappingsFromForm in ldap_user/src/Form/LdapUserMappingBaseForm.php
Extract sync mappings array from mapping table in admin form.
2 methods override LdapUserMappingBaseForm::setSpecificMapping()
LdapUserMappingToDrupalForm::setSpecificMapping in ldap_user/src/Form/LdapUserMappingToDrupalForm.php
Set specific mapping.
LdapUserMappingToLdapForm::setSpecificMapping in ldap_user/src/Form/LdapUserMappingToLdapForm.php
Set specific mapping.

File

ldap_user/src/Form/LdapUserMappingBaseForm.php, line 267

Class

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

Namespace

Drupal\ldap_user\Form

Code

protected function setSpecificMapping(Mapping $mapping, array $row) : void {

  // Sub form does its variant here.
}