function user_badges_rules_get_badge_names in User Badges 7.4
Same name and namespace in other branches
- 7.3 user_badges.rules.inc \user_badges_rules_get_badge_names()
Function to load badges for options list.
Return value
array An array of badge names
2 string references to 'user_badges_rules_get_badge_names'
- user_badges_rules_action_info in ./
user_badges.rules.inc - Implements hook_rules_action_info().
- user_badges_rules_condition_info in ./
user_badges.rules.inc - Implements hook_rules_condition_info().
File
- ./
user_badges.rules.inc, line 140 - user_badges.rules.inc
Code
function user_badges_rules_get_badge_names() {
// Load the badges by calling this function.
return user_badges_get_badges('select');
}