You are here

public function CheckoutStartEvent::__construct in Ubercart 8.4

Constructs the object.

Parameters

\Drupal\uc_order\OrderInterface $order: The order object.

File

uc_cart/src/Event/CheckoutStartEvent.php, line 28

Class

CheckoutStartEvent
Event that is fired when a customer starts checkout.

Namespace

Drupal\uc_cart\Event

Code

public function __construct(OrderInterface $order) {
  $this->order = $order;
}