function userpoints_rules_moderate in User Points 7
Same name and namespace in other branches
- 7.2 userpoints_rules/userpoints_rules.rules.inc \userpoints_rules_moderate()
Simple callback that lists the possible moderate values.
1 string reference to 'userpoints_rules_moderate'
- userpoints_rules_rules_action_info in ./
userpoints_rules.rules.inc - Implements hook_rules_action_info().
File
- ./
userpoints_rules.rules.inc, line 123 - Provide better integration into the rules group
Code
function userpoints_rules_moderate() {
return array(
'default' => t('Use the site default'),
'approved' => t('Automatically approved'),
'moderated' => t('Added to moderation'),
);
}