You are here

function vud_comment_views_data_alter in Vote Up/Down 7

Same name and namespace in other branches
  1. 6.3 vud_comment/views/vud_comment.views.inc \vud_comment_views_data_alter()
  2. 6.2 vud_comment/views/vud_comment.views.inc \vud_comment_views_data_alter()

Implements hook_views_data_alter().

File

vud_comment/views/vud_comment.views.inc, line 11
Provide views data and handlers for vud_comment.module

Code

function vud_comment_views_data_alter(&$data) {
  $data['comment']['vud_comment_widget'] = array(
    'group' => t('Vote Up/Down'),
    'title' => t('Comment Widget'),
    'help' => t('Provide a comment widget for the Vote up/Down module.'),
    'field' => array(
      'handler' => 'vud_comment_handler_field_widget',
    ),
  );
}