You are here

public function UserLoginEvent::__construct in Rules 8.3

Constructs the object.

Parameters

\Drupal\user\UserInterface $account: The account of the user logged in.

File

src/Event/UserLoginEvent.php, line 30

Class

UserLoginEvent
Event that is fired when a user logs in.

Namespace

Drupal\rules\Event

Code

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