public function OrderCommentAddedEvent::__construct in Ubercart 8.4
Constructs the object.
Parameters
\Drupal\uc_order\OrderInterface $order: The order object.
File
- uc_order/
src/ Event/ OrderCommentAddedEvent.php, line 28
Class
- OrderCommentAddedEvent
- Event that is fired when an order comment is added.
Namespace
Drupal\uc_order\EventCode
public function __construct(OrderInterface $order) {
$this->order = $order;
}