function uc_recurring_ca_entity in UC Recurring Payments and Subscriptions 6.2
Same name and namespace in other branches
- 7.2 uc_recurring.ca.inc \uc_recurring_ca_entity()
Implementation of hook_ca_entity().
An entity is defined in order to get the recurring fee down to token in the email.
File
- ./
uc_recurring.ca.inc, line 19 - This file contains the Conditional Actions hooks and functions necessary to make the recurring-related entity, conditions, events, and actions work.
Code
function uc_recurring_ca_entity() {
// CA entity for a recurring fee object.
$entities['uc_recurring_fee'] = array(
'#title' => t('Recurring Fee'),
'#type' => 'object',
'#load' => 'uc_recurring_fee_user_load',
'#save' => 'uc_recurring_fee_user_save',
);
return $entities;
}