function uc_roles_uc_product_feature in Ubercart 7.3
Implements hook_uc_product_feature().
File
- uc_roles/
uc_roles.module, line 418 - Grants roles upon accepted payment of products.
Code
function uc_roles_uc_product_feature() {
$features[] = array(
'id' => 'role',
'title' => t('Role assignment'),
'callback' => 'uc_roles_feature_form',
'delete' => 'uc_roles_feature_delete',
'settings' => 'uc_roles_feature_settings',
);
return $features;
}