function vud_comment_handler_field_widget::init in Vote Up/Down 6.3
Same name and namespace in other branches
- 6.2 vud_comment/views/vud_comment_handler_field_widget.inc \vud_comment_handler_field_widget::init()
File
- vud_comment/
views/ vud_comment_handler_field_widget.inc, line 12 - Provide a handler for Vote Up/down widget field for comments.
Class
- vud_comment_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['cid'] = array(
'table' => 'comments',
'field' => 'cid',
);
}