function UserLoginEvent::__construct
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\EventCode
public function __construct(UserInterface $account) {
$this->account = $account;
}