function hook_user_badges_delete in User Badges 7.3
Same name and namespace in other branches
- 7 user_badges.api.php \hook_user_badges_delete()
- 7.2 user_badges.api.php \hook_user_badges_delete()
Allows modules to react to the deletion of a user_badge. This is invoked before the badge is deleted.
Parameters
$badge: The badge object.
1 invocation of hook_user_badges_delete()
- user_badges_delete_form_submit in ./
user_badges.admin.inc - Submit handler for user badge deletion.
File
- ./
user_badges.api.php, line 14 - Document API.
Code
function hook_user_badges_delete($badge) {
}