You are here

function vud_node_handler_field_widget::init in Vote Up/Down 6.3

Same name and namespace in other branches
  1. 6.2 vud_node/views/vud_node_handler_field_widget.inc \vud_node_handler_field_widget::init()

File

vud_node/views/vud_node_handler_field_widget.inc, line 12
Provide a handler for Vote Up/down widget field for nodes.

Class

vud_node_handler_field_widget
A handler that provides a Vote Up/Down widget field for nodes.

Code

function init(&$view, &$options) {
  parent::init($view, $options);
  $this->additional_fields['nid'] = array(
    'table' => 'node',
    'field' => 'nid',
  );
}