function payment_line_item_get_specific in Payment 7
Implements PaymentLineItemInfo::callback.
1 call to payment_line_item_get_specific()
- Payment::getLineItems in ./
payment.classes.inc - Get line items.
File
- ./
payment.module, line 948 - Hook implementations and shared functions.
Code
function payment_line_item_get_specific($name, Payment $payment) {
return isset($payment->line_items[$name]) ? array(
$payment->line_items[$name],
) : array();
}