You are here

function clock_block_info in Clock 7

Same name and namespace in other branches
  1. 7.2 clock.module \clock_block_info()

Implements hook_block_info().

File

./clock.module, line 49

Code

function clock_block_info() {
  $blocks['clock'] = array(
    'info' => t('Clock'),
    // The clock needs to be updated continuously and should not be cached.
    'cache' => DRUPAL_NO_CACHE,
  );
  return $blocks;
}