function antispam_block_info in AntiSpam 7
Implements hook_block_info().
File
- ./
antispam.module, line 1653 - Primary hook implementations for the Antispam module.
Code
function antispam_block_info() {
$blocks_counter = variable_get('antispam_blocks_counter', 1);
$blocks = array();
for ($i = 0; $i < $blocks_counter; $i++) {
$blocks[] = array(
'info' => t('AntiSpam spam counter (block: @count)', array(
'@count' => $i + 1,
)),
);
}
return $blocks;
}