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