You are here

function payment_line_item_get_all in Payment 7

Implements PaymentLineItemInfo::callback.

1 call to payment_line_item_get_all()
Payment::getLineItems in ./payment.classes.inc
Get line items.
1 string reference to 'payment_line_item_get_all'
payment_payment_line_item_info in ./payment.payment.inc
Implements hook_payment_line_item_info().

File

./payment.module, line 955
Hook implementations and shared functions.

Code

function payment_line_item_get_all($name, Payment $payment) {
  return $payment->line_items;
}