You are here

public function UserLogoutEvent::__construct in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/user_event_dispatcher/src/Event/User/UserLogoutEvent.php \Drupal\user_event_dispatcher\Event\User\UserLogoutEvent::__construct()

UserLoginEvent constructor.

Parameters

\Drupal\Core\Session\AccountInterface $account: Account.

File

modules/user_event_dispatcher/src/Event/User/UserLogoutEvent.php, line 28

Class

UserLogoutEvent
Class UserLogoutEvent.

Namespace

Drupal\user_event_dispatcher\Event\User

Code

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