function uc_quote_uc_order_delete in Ubercart 8.4
Implements hook_uc_order_delete().
File
- shipping/
uc_quote/ uc_quote.module, line 257 - The controller module for fulfillment modules that process physical goods.
Code
function uc_quote_uc_order_delete(OrderInterface $order) {
$connection = \Drupal::database();
$connection
->delete('uc_order_quotes')
->condition('order_id', $order
->id())
->execute();
}