You are here

public function NotifyRevokeEvent::__construct in Ubercart 8.4

Constructs the object.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user.

array $expiration: The expiration.

File

uc_role/src/Event/NotifyRevokeEvent.php, line 38

Class

NotifyRevokeEvent
Event that is fired when a user role is revoked.

Namespace

Drupal\uc_role\Event

Code

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