You are here

class CheckoutReviewOrderEvent in Ubercart 8.4

Event that is fired when a customer reviews their order in checkout.

Hierarchy

Expanded class hierarchy of CheckoutReviewOrderEvent

1 file declares its use of CheckoutReviewOrderEvent
CheckoutController.php in uc_cart/src/Controller/CheckoutController.php

File

uc_cart/src/Event/CheckoutReviewOrderEvent.php, line 11

Namespace

Drupal\uc_cart\Event
View source
class CheckoutReviewOrderEvent extends Event {
  const EVENT_NAME = 'uc_cart_checkout_review_order';

  /**
   * The order.
   *
   * @var \Drupal\uc_order\OrderInterface
   */
  public $order;

  /**
   * Constructs the object.
   *
   * @param \Drupal\uc_order\OrderInterface $order
   *   The order object.
   */
  public function __construct(OrderInterface $order) {
    $this->order = $order;
  }

}

Members