You are here

function user_badges_rules_condition_number_options in User Badges 7.4

Options list callback for the operator parameter of the user badge count.

1 string reference to 'user_badges_rules_condition_number_options'
user_badges_rules_condition_info in ./user_badges.rules.inc
Implements hook_rules_condition_info().

File

./user_badges.rules.inc, line 187
user_badges.rules.inc

Code

function user_badges_rules_condition_number_options() {
  $count = 25;
  $options = array();
  for ($i = 1; $i <= $count; $i++) {
    $options[$i] = $i;
  }
  return $options;
}