function commons_poll_nodeapi in Drupal Commons 6.2
Implementation of hook_nodeapi()
File
- modules/
features/ commons_poll/ commons_poll.module, line 8
Code
function commons_poll_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
switch ($op) {
case 'view':
// Push the voting widgets to the top
$node->content['body']['#weight'] = -100;
break;
}
}