You are here

public function AccountProxyInterface::getAccount in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Session/AccountProxyInterface.php \Drupal\Core\Session\AccountProxyInterface::getAccount()

Gets the currently wrapped account.

Return value

\Drupal\Core\Session\AccountInterface The current account.

1 method overrides AccountProxyInterface::getAccount()
AccountProxy::getAccount in core/lib/Drupal/Core/Session/AccountProxy.php
Gets the currently wrapped account.

File

core/lib/Drupal/Core/Session/AccountProxyInterface.php, line 38
Contains \Drupal\Core\Session\AccountProxyInterface.

Class

AccountProxyInterface
Defines an interface for a service which has the current account stored.

Namespace

Drupal\Core\Session

Code

public function getAccount();