You are here

function payment_commerce_payment_line_item_info in Payment for Drupal Commerce 7

Same name and namespace in other branches
  1. 7.2 payment_commerce.module \payment_commerce_payment_line_item_info()

Implements hook_payment_line_item_info().

File

./payment_commerce.module, line 117
Hook implementations and shared functions.

Code

function payment_commerce_payment_line_item_info() {
  return array(
    new PaymentLineItemInfo(array(
      'callback' => 'payment_commerce_payment_line_item_get',
      'name' => 'payment_commerce',
      'title' => t('Commerce line item'),
    )),
  );
}