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

Breadcrumb

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

function AccountSetEvent::__construct

AccountSetEvent constructor.

Parameters

\Drupal\Core\Session\AccountInterface $account: The set account.

File

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

Class

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

Namespace

Drupal\Core\Session

Code

public function __construct(AccountInterface $account) {
    $this->account = $account;
}

API Navigation

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