protected function LdapUserMappingBaseForm::getMappingRow in Lightweight Directory Access Protocol (LDAP) 8.4
Get mapping form row to LDAP user provisioning mapping admin form table.
Parameters
\Drupal\ldap_servers\Mapping $mapping: Is current setting for updates or non-configurable items.
array $target_fields: Attributes of Drupal user target options.
int $row_id: Only needed for LDAP.
Return value
array Row.
1 call to LdapUserMappingBaseForm::getMappingRow()
- LdapUserMappingBaseForm::getServerMappingFields in ldap_user/
src/ Form/ LdapUserMappingBaseForm.php - Return the server mappings for the fields.
2 methods override LdapUserMappingBaseForm::getMappingRow()
- LdapUserMappingToDrupalForm::getMappingRow in ldap_user/
src/ Form/ LdapUserMappingToDrupalForm.php - Get mapping form row to LDAP user provisioning mapping admin form table.
- LdapUserMappingToLdapForm::getMappingRow in ldap_user/
src/ Form/ LdapUserMappingToLdapForm.php - Get mapping form row to LDAP user provisioning mapping admin form table.
File
- ldap_user/
src/ Form/ LdapUserMappingBaseForm.php, line 284
Class
- LdapUserMappingBaseForm
- Provides the form to configure user configuration and field mapping.
Namespace
Drupal\ldap_user\FormCode
protected function getMappingRow(Mapping $mapping, array $target_fields, int $row_id) : array {
// Sub form does its variant here.
return [];
}