function poll_block_info
7.x poll.module | poll_block_info() |
Implements hook_block_info().
File
- drupal-7.x/
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;
}