You are here

function visitors_block_info in Visitors 7.2

Same name and namespace in other branches
  1. 8 visitors.block.inc \visitors_block_info()
  2. 7 visitors.block.inc \visitors_block_info()
  3. 7.0 visitors.block.inc \visitors_block_info()

Implements 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;
}