function uc_recurring_recurring_info in UC Recurring Payments and Subscriptions 6.2
Same name and namespace in other branches
- 7.2 uc_recurring.module \uc_recurring_recurring_info()
Implementation of hook_recurring_info().
Add a default handler.
File
- ./
uc_recurring.module, line 188 - Allows you to add a recurring fee to a product/SKU to handle subscription type services.
Code
function uc_recurring_recurring_info() {
$items['default'] = array(
'name' => t('Default handler'),
'module' => 'uc_recurring',
'fee handler' => 'default',
'process callback' => 'uc_recurring_default_handler',
'renew callback' => 'uc_recurring_default_handler',
'menu' => array(
'charge' => array(
'title' => 'Charge',
'page arguments' => array(
'uc_recurring_admin_charge_form',
),
'access callback' => 'user_access',
'access arguments' => array(
'administer recurring fees',
),
'file' => 'uc_recurring.admin.inc',
'file path' => drupal_get_path('module', 'uc_recurring'),
),
'edit' => array(
'title' => 'Edit',
'page arguments' => array(
'uc_recurring_admin_edit_form',
),
'access callback' => 'user_access',
'access arguments' => array(
'administer recurring fees',
),
'file' => 'uc_recurring.admin.inc',
'file path' => drupal_get_path('module', 'uc_recurring'),
),
'cancel' => array(
'title' => 'Cancel',
'page arguments' => array(
'uc_recurring_user_cancel_form',
),
'file' => 'uc_recurring.pages.inc',
'file path' => drupal_get_path('module', 'uc_recurring'),
),
),
);
return $items;
}