private function DrupalUserProcessor::saveAccount in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_user/src/Processor/DrupalUserProcessor.php \Drupal\ldap_user\Processor\DrupalUserProcessor::saveAccount()
Saves the account, separated to make this testable.
4 calls to DrupalUserProcessor::saveAccount()
- DrupalUserProcessor::createDrupalUser in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Create a Drupal user.
- DrupalUserProcessor::ldapAssociateDrupalAccount in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Set LDAP associations of a Drupal account by altering user fields.
- DrupalUserProcessor::loginDrupalAccountProvisioning in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Handle account login with Drupal provisioning.
- DrupalUserProcessor::syncToDrupalAccount in ldap_user/
src/ Processor/ DrupalUserProcessor.php - For a Drupal account, query LDAP, get all user fields and save.
File
- ldap_user/
src/ Processor/ DrupalUserProcessor.php, line 940
Class
- DrupalUserProcessor
- Handles processing of a user from LDAP to Drupal.
Namespace
Drupal\ldap_user\ProcessorCode
private function saveAccount() {
$this->account
->save();
}