function user_badges_block_save in User Badges 6
Same name and namespace in other branches
- 6.2 user_badges.module \user_badges_block_save()
- 7 user_badges.module \user_badges_block_save()
- 7.2 user_badges.module \user_badges_block_save()
- 7.3 user_badges.module \user_badges_block_save()
Function for user_badges_block(op = 'save').
1 call to user_badges_block_save()
- user_badges_block in ./
user_badges.module - Implements hook_block();
File
- ./
user_badges.module, line 1370 - @brief User Badges module file
Code
function user_badges_block_save($delta = 0, $edit = array()) {
switch ($delta) {
case 'current_node':
variable_set('user_badges_current_node_types', array_filter($edit['types']));
return;
}
}