function user_badges_block_info in User Badges 7
Same name and namespace in other branches
- 7.2 user_badges.module \user_badges_block_info()
- 7.3 user_badges.module \user_badges_block_info()
Implements hook_block_info().
File
- ./
user_badges.module, line 1291 - @brief User Badges module file
Code
function user_badges_block_info() {
return array(
'current_node' => array(
'info' => t('User_Badges: Content Author'),
'cache' => DRUPAL_NO_CACHE,
),
'my_badges' => array(
'info' => t('User_Badges: My Badges'),
'cache' => DRUPAL_CACHE_PER_USER,
),
'all_badges' => array(
'info' => t('User_Badges: All Badges'),
'cache' => DRUPAL_CACHE_GLOBAL,
),
);
}