You are here

function _advpoll_block_resultslink in Advanced Poll 6.3

Same name and namespace in other branches
  1. 5 advpoll.module \_advpoll_block_resultslink()
  2. 6 advpoll.module \_advpoll_block_resultslink()
  3. 6.2 advpoll.module \_advpoll_block_resultslink()

File

./advpoll.module, line 1285
Advanced Poll - a sophisticated polling module for voting, elections, and group decision-making.

Code

function _advpoll_block_resultslink($node) {
  return array(
    'title' => t('Results'),
    'href' => 'node/' . $node->nid . '/results',
    'attributes' => array(
      'title' => t('View the current poll results.'),
    ),
  );
}