function cctags_get_user_weight in cctags 6
1 call to cctags_get_user_weight()
- cctags_invoke_user_weight in ./
cctags.module - Invoke a hook_user_weight() operation in all modules. or if defined function get_user_weight(&$user) set the $user->weight
File
- ./
cctags.module, line 330
Code
function cctags_get_user_weight($user) {
$weight = $user->node_count * 3 + $user->comments_count;
return $weight;
}