You are here

function paymentreference_payment_delete in Payment 7

Implements hook_ENTITY_TYPE_ACTION().

File

modules/paymentreference/paymentreference.module, line 303
Hook implementations and general functions.

Code

function paymentreference_payment_delete(Payment $payment) {
  paymentreference_delete_by_pid($payment->pid);
}