function poll_block_info in Drupal 7
Implements hook_block_info().
File
- modules/
poll/ poll.module, line 133 - Enables your site to capture votes on different topics in the form of multiple choice questions.
Code
function poll_block_info() {
$blocks['recent']['info'] = t('Most recent poll');
$blocks['recent']['properties']['administrative'] = TRUE;
return $blocks;
}