function user_badges_action_info in User Badges 7.3
Same name and namespace in other branches
- 6.2 user_badges.module \user_badges_action_info()
- 6 user_badges.module \user_badges_action_info()
- 7.4 user_badges.actions.inc \user_badges_action_info()
- 7 user_badges.actions.inc \user_badges_action_info()
- 7.2 user_badges.actions.inc \user_badges_action_info()
Implements hook_action_info().
File
- ./
user_badges.actions.inc, line 10 - Actions for User Badges module.
Code
function user_badges_action_info() {
return array(
'user_badges_add_badge_action' => array(
'label' => t('Add badge'),
'type' => 'user',
'configurable' => TRUE,
'triggers' => array(
'any' => TRUE,
),
),
'user_badges_remove_badge_action' => array(
'label' => t('Remove badge'),
'type' => 'user',
'configurable' => TRUE,
'triggers' => array(
'any' => TRUE,
),
),
);
}