You are here

function payment_test_line_item_get in Payment 7

Implements PaymentLineItemInfo::callback.

1 string reference to 'payment_test_line_item_get'
payment_test_payment_line_item_info in tests/payment_test/payment_test.module
Implements hook_payment_line_item_info().

File

tests/payment_test/payment_test.module, line 94
Hook implementations and shared functions.

Code

function payment_test_line_item_get($name, Payment $payment) {
  return array(
    $payment->line_items['foo'],
    $payment->line_items['bar'],
  );
}