Skip to content

Instantly share code, notes, and snippets.

@jdvc
Created February 24, 2014 07:06
Show Gist options
  • Save jdvc/9183181 to your computer and use it in GitHub Desktop.
Save jdvc/9183181 to your computer and use it in GitHub Desktop.

Revisions

  1. Joe created this gist Feb 24, 2014.
    10 changes: 10 additions & 0 deletions gistfile1.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    $items['user/%/subscription'] = array(
    'title' => 'Subscription',
    'description' => 'Subscription form.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('stripe_subscription_subscription_form', 1),
    'access callback' => 'stripe_subscription_access',
    'access arguments' => array(1),
    'menu_name' => 'user-menu',
    'type' => MENU_LOCAL_TASK
    );