AccountProxyInterface::getAccount

public AccountProxyInterface::getAccount()

Gets the currently wrapped account.

Return value

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

File

core/lib/Drupal/Core/Session/AccountProxyInterface.php, line 33

Class

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

Namespace

Drupal\Core\Session

Code

1
public function getAccount();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.