class CheckoutStartEvent in Ubercart 8.4
Event that is fired when a customer starts checkout.
Hierarchy
- class \Drupal\uc_cart\Event\CheckoutStartEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of CheckoutStartEvent
1 file declares its use of CheckoutStartEvent
- CheckoutController.php in uc_cart/
src/ Controller/ CheckoutController.php
File
- uc_cart/
src/ Event/ CheckoutStartEvent.php, line 11
Namespace
Drupal\uc_cart\EventView source
class CheckoutStartEvent extends Event {
const EVENT_NAME = 'uc_cart_checkout_start';
/**
* 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CheckoutStartEvent:: |
public | property | The order. | |
CheckoutStartEvent:: |
constant | |||
CheckoutStartEvent:: |
public | function | Constructs the object. |