function uc_roles_ca_entity in Ubercart 6.2
Implements hook_ca_entity().
An entity is defined in order to get a role expiration down to token in the email.
File
- uc_roles/
uc_roles.ca.inc, line 19 - This file contains the Conditional Actions hooks and functions necessary to make the roles-related entity, conditions, events, and actions work.
Code
function uc_roles_ca_entity() {
// CA entity for a role expiration object.
$entities['uc_roles_expiration'] = array(
'#title' => t('Ubercart role expiration'),
'#type' => 'object',
);
return $entities;
}