public function UserLogoutEvent::__construct in Hook Event Dispatcher 8
UserLoginEvent constructor.
Parameters
\Drupal\Core\Session\AccountInterface $account: Account.
File
- src/
Event/ User/ UserLogoutEvent.php, line 28
Class
- UserLogoutEvent
- Class UserLogoutEvent.
Namespace
Drupal\hook_event_dispatcher\Event\UserCode
public function __construct(AccountInterface $account) {
$this->account = $account;
}