You are here

function hook_user_badges_edit_badge in User Badges 7.3

Same name and namespace in other branches
  1. 7 user_badges.api.php \hook_user_badges_edit_badge()
  2. 7.2 user_badges.api.php \hook_user_badges_edit_badge()

Allows to modules to react to the editing or adding of a user_badge. This is invoked before the badge is added. The called function may alter the form values.

Parameters

$badge: The form's returned values array ($form_state['values'). If $edit['bid'] is empty, then this is an add operation.

1 invocation of hook_user_badges_edit_badge()
user_badges_edit_form_submit in ./user_badges.admin.inc
Process user_badges_edit_form form submissions.

File

./user_badges.api.php, line 27
Document API.

Code

function hook_user_badges_edit_badge($badge) {
}