You are here

function uc_recurring_product_feature in UC Recurring Payments and Subscriptions 6

Same name and namespace in other branches
  1. 6.2 modules/uc_recurring_product/uc_recurring_product.module \uc_recurring_product_feature()

Implementation of hook_product_feature().

File

./uc_recurring.module, line 340
Allows you to add a recurring fee to a product/SKU to handle subscription type services.

Code

function uc_recurring_product_feature() {
  $features[] = array(
    'id' => 'recurring',
    'title' => t('Recurring fee'),
    'callback' => 'uc_recurring_feature_form',
    'delete' => 'uc_recurring_fee_delete',
    'settings' => 'uc_recurring_settings_form',
  );
  return $features;
}