Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AccountSetEvent.php

function AccountSetEvent::getAccount

Gets the account.

Return value

\Drupal\Core\Session\AccountInterface The account.

File

core/lib/Drupal/Core/Session/AccountSetEvent.php, line 35

Class

AccountSetEvent
Event fired when an account is set for the current session.

Namespace

Drupal\Core\Session

Code

public function getAccount() {
    return $this->account;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal