You are here

function stripe_customer_menu in Stripe 7

Implements hook_menu().

File

stripe_customer/stripe_customer.module, line 17
Provides integration with Stripe and Drupal Users as Customers.

Code

function stripe_customer_menu() {
  $items = array();
  $items['admin/stripe/customer/%'] = array(
    'title' => 'View Customer',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'stripe_customer_customer_view_form',
      3,
    ),
    'access arguments' => array(
      'administer stripe customers',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'stripe_customer.admin.inc',
  );
  return $items;
}