You are here

function userpoints_rules_moderate in User Points 7.2

Same name and namespace in other branches
  1. 7 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/userpoints_rules.rules.inc
Implements hook_rules_action_info().

File

userpoints_rules/userpoints_rules.rules.inc, line 128
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'),
  );
}