function uc_roles_get_expiration_properties in Ubercart 7.3
Callback for getting role expiration properties.
See also
entity_metadata_node_entity_info_alter()
1 string reference to 'uc_roles_get_expiration_properties'
- uc_roles_rules_data_info in uc_roles/
uc_roles.rules.inc - Implements hook_rules_data_info().
File
- uc_roles/
uc_roles.rules.inc, line 63 - Rules hooks for uc_roles.module.
Code
function uc_roles_get_expiration_properties($expiration, array $options, $name, $entity_type) {
switch ($name) {
case 'user':
return $expiration->uid;
}
}