You are here

function commerce_donate_commerce_checkout_pane_info in Commerce Donate 7

Implements hook_commerce_checkout_pane_info().

File

./commerce_donate.module, line 132
Module provides donation line item, product and product display node for Drupal Commerce.

Code

function commerce_donate_commerce_checkout_pane_info() {
  $checkout_panes = array();
  $checkout_panes['checkout_donate'] = array(
    'name' => t('Donation form'),
    'title' => check_plain(variable_get('commerce_donate_checkout_pane_title', t('Add a donation'))),
    'file' => 'includes/commerce_donate.checkout_pane.inc',
    'base' => 'commerce_donate_checkout_pane',
    'page' => 'checkout',
    'fieldset' => TRUE,
    'locked' => FALSE,
    'enabled' => FALSE,
  );
  return $checkout_panes;
}