You are here

public function UserLoginEvent::__construct in Hook Event Dispatcher 8

UserLoginEvent constructor.

Parameters

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

File

src/Event/User/UserLoginEvent.php, line 28

Class

UserLoginEvent
Class UserLoginEvent.

Namespace

Drupal\hook_event_dispatcher\Event\User

Code

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