You are here

uc_recurring_product.rules.inc in UC Recurring Payments and Subscriptions 7.2

Rules definitions.

File

modules/uc_recurring_product/uc_recurring_product.rules.inc
View source
<?php

/**
 * @file
 * Rules definitions.
 */

/**
 * Implements hook_rules_event_info().
 * Invoked when a new recurring product fee is created.
 */
function uc_recurring_product_rules_event_info() {
  return array(
    'uc_recurring_product_renewal_created' => array(
      'label' => t('Recurring product fee created'),
      'group' => t('Recurring Fees'),
      'variables' => array(
        'order' => array(
          'type' => 'uc_order',
          'label' => t('Order'),
        ),
        'recurring_fee' => array(
          'type' => 'uc_recurring_fee',
          'label' => t('Recurring Fee'),
        ),
      ),
    ),
  );
}

Functions

Namesort descending Description
uc_recurring_product_rules_event_info Implements hook_rules_event_info(). Invoked when a new recurring product fee is created.