public function PaymentEnteredEvent::__construct in Ubercart 8.4
Constructs the object.
Parameters
\Drupal\uc_order\OrderInterface $order: The order object.
\Drupal\Core\Session\AccountInterface $account: The user account.
File
- payment/
uc_payment/ src/ Event/ PaymentEnteredEvent.php, line 38
Class
- PaymentEnteredEvent
- Event that is fired when payment is entered for an order.
Namespace
Drupal\uc_payment\EventCode
public function __construct(OrderInterface $order, AccountInterface $account) {
$this->order = $order;
$this->account = $account;
}