Supplier/EventListener/SupplierOrderItemListener.php
public function onPreDelete(ResourceEventInterface $event)
    {
        $item = $this->getSupplierOrderItemFromEvent($event);

        $this->assertDeletable($item);

        // Initializes the supplier order's items collection before item removal.
        $item->getOrder()->getItems();
    }
public function onPreDelete(ResourceEventInterface $event)
    {
        $item = $this->getSupplierOrderItemFromEvent($event);

        $this->assertDeletable($item);

        // Initializes the supplier order's items collection before item removal.
        $item->getOrder()->getItems();
    }
Pre delete event handler.

@param ResourceEventInterface $event