function clock_block_info in Clock 7.2
Same name and namespace in other branches
- 7 clock.module \clock_block_info()
Implements hook_block_info().
File
- ./
clock.module, line 23 - Display clocks on your site.
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;
}