function poll_results

poll_results($node)

Callback for the 'results' tab for polls you can vote on

File

modules/poll/poll.pages.inc, line 93
User page callbacks for the poll module.

Code

function poll_results($node) {
  drupal_set_title($node->title);
  $node->show_results = TRUE;
  return node_show($node);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!poll!poll.pages.inc/function/poll_results/7.x