You are here

class OrderStatusEmailUpdateEvent in Ubercart 8.4

Event indicating an email notification of order status change was requested.

Hierarchy

Expanded class hierarchy of OrderStatusEmailUpdateEvent

1 file declares its use of OrderStatusEmailUpdateEvent
OrderUpdateForm.php in uc_order/src/Form/OrderUpdateForm.php

File

uc_order/src/Event/OrderStatusEmailUpdateEvent.php, line 11

Namespace

Drupal\uc_order\Event
View source
class OrderStatusEmailUpdateEvent extends Event {
  const EVENT_NAME = 'uc_order_status_email_update';

  /**
   * 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