You are here

function vud_node_views_data_alter in Vote Up/Down 6.2

Same name and namespace in other branches
  1. 6.3 vud_node/views/vud_node.views.inc \vud_node_views_data_alter()
  2. 7 vud_node/views/vud_node.views.inc \vud_node_views_data_alter()

Implementation of hook_views_data_alter().

File

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

Code

function vud_node_views_data_alter(&$data) {
  $data['node']['vud_node_widget'] = array(
    'group' => t('Vote Up/Down'),
    'title' => t('Node Widget'),
    'help' => t('Provide a node widget for the Vote up/Down module.'),
    'field' => array(
      'handler' => 'vud_node_handler_field_widget',
    ),
  );
}