You are here

public function DrupalUserProcessor::getUserAccount 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::getUserAccount()

Get the user account.

Return value

\Drupal\user\Entity\User|null User account.

File

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

Class

DrupalUserProcessor
Handles processing of a user from LDAP to Drupal.

Namespace

Drupal\ldap_user\Processor

Code

public function getUserAccount() : ?User {
  return $this->account;
}