You are here

private function DrupalUserProcessor::saveAccount in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.3 ldap_user/src/Processor/DrupalUserProcessor.php \Drupal\ldap_user\Processor\DrupalUserProcessor::saveAccount()

Saves the account, separated to make this testable.

3 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::updateExistingAccountByPersistentUid in ldap_user/src/Processor/DrupalUserProcessor.php
Update Drupal user from PUID.

File

ldap_user/src/Processor/DrupalUserProcessor.php, line 587

Class

DrupalUserProcessor
Handles processing of a user from LDAP to Drupal.

Namespace

Drupal\ldap_user\Processor

Code

private function saveAccount() : void {
  $this->account
    ->save();
}