public function UserAuthenticator::currentUser in Social API 3.x
Same name and namespace in other branches
- 8.2 src/User/UserAuthenticator.php \Drupal\social_api\User\UserAuthenticator::currentUser()
Returns the current user.
Return value
\Drupal\Core\Session\AccountProxyInterface The current Drupal user.
File
- src/
User/ UserAuthenticator.php, line 157
Class
- UserAuthenticator
- Manages Drupal authentication tasks for Social API.
Namespace
Drupal\social_api\UserCode
public function currentUser() {
return $this->currentUser;
}