function visitors_block_info in Visitors 8
Same name and namespace in other branches
- 7.2 visitors.block.inc \visitors_block_info()
- 7 visitors.block.inc \visitors_block_info()
- 7.0 visitors.block.inc \visitors_block_info()
Implements of hook_block_info().
File
- ./
visitors.block.inc, line 13 - Display current visitor block.
Code
function visitors_block_info() {
$blocks = array();
$blocks[0]['info'] = t('Current visitor');
$blocks[0]['cache'] = DRUPAL_NO_CACHE;
return $blocks;
}