code: public function onPreDelete(ResourceEventInterface $event)
      {
          $order = $this->getSupplierOrderFromEvent($event);
  
          $this->assertDeletable($order);
      }
docs: Pre delete event handler.
  
  @param ResourceEventInterface $event