You are here

function _advpoll_block_resultslink in Advanced Poll 6.2

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

File

./advpoll.module, line 1198
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.'),
    ),
  );
}