You are here

function fivestar_widget_form in Fivestar 5

Same name and namespace in other branches
  1. 6.2 fivestar.module \fivestar_widget_form()
  2. 6 fivestar.module \fivestar_widget_form()
2 calls to fivestar_widget_form()
fivestar_block in ./fivestar.module
fivestar_nodeapi in ./fivestar.module
Implementation of hook_nodeapi().

File

./fivestar.module, line 931
A simple n-star voting widget, usable in other forms.

Code

function fivestar_widget_form($node) {
  return drupal_get_form('fivestar_form_node_' . $node->nid, 'node', $node->nid);
}