You are here

private property SyncMappingHelper::$syncMapping in Lightweight Directory Access Protocol (LDAP) 8.3

Sync mappings.

Array of field sync mappings provided by all modules.

Via hook_ldap_user_attrs_list_alter(). Array has the form of [ LdapConfiguration:: | s => [ <server_id> => array( 'sid' => <server_id> (redundant) 'ldap_attr' => e.g. [sn] 'user_attr' => e.g. [field.field_user_lname] (when this value is set to 'user_tokens', 'user_tokens' value is used.) 'user_tokens' => e.g. [field.field_user_lname], [field.field_user_fname] 'convert' => 1|0 boolean indicating need to covert from binary 'direction' => LdapUserAttributesInterface::PROVISION_TO_DRUPAL || LdapUserAttributesInterface::PROVISION_TO_LDAP (redundant) 'config_module' => 'ldap_user' 'prov_module' => 'ldap_user' 'enabled' => 1|0 boolean prov_events' => [( see events above )] ]

Array of field syncing directions for each operation. Should include ldapUserSyncMappings. Keyed on direction => property, ldap, or field token such as '[field.field_lname] with brackets in them.

Type: array

File

ldap_user/src/Helper/SyncMappingHelper.php, line 42

Class

SyncMappingHelper
Helper class to process user field synchronisation mappings.

Namespace

Drupal\ldap_user\Helper

Code

private $syncMapping;