You are here

function user_badges_block_save in User Badges 6.2

Same name and namespace in other branches
  1. 6 user_badges.module \user_badges_block_save()
  2. 7 user_badges.module \user_badges_block_save()
  3. 7.2 user_badges.module \user_badges_block_save()
  4. 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 1376
@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;
  }
}