public static function OrderConnectStorage::orderDelete in Basic cart 8
Same name and namespace in other branches
- 8.0 src/OrderConnectStorage.php \Drupal\basic_cart\OrderConnectStorage::orderDelete()
1 call to OrderConnectStorage::orderDelete()
- basic_cart_entity_delete in ./
basic_cart.module - Implements hook_entity_delete().
File
- src/
OrderConnectStorage.php, line 98
Class
- OrderConnectStorage
- Class OrderConnectStorage.
Namespace
Drupal\basic_cartCode
public static function orderDelete($entry) {
db_delete(self::TABLE)
->condition('oid', $entry['oid'])
->condition('entitytype', $entry['entitytype'])
->execute();
}