function hosting_queue_block in Hosting 5
Same name and namespace in other branches
- 7.4 hosting.module \hosting_queue_block()
- 7.3 hosting.module \hosting_queue_block()
1 call to hosting_queue_block()
File
- ./
hosting.module, line 284 - Hosting module
Code
function hosting_queue_block() {
if (user_access('access task logs')) {
$queues = hosting_get_queues();
$output = '';
foreach ($queues as $queue => $info) {
$func = 'hosting_' . $info['singular'] . '_summary';
if (function_exists($func)) {
$output .= $func();
}
}
return $output;
}
}