function lingotek_views_data in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lingotek.views.inc \lingotek_views_data()
- 7.4 lingotek.views.inc \lingotek_views_data()
- 7.6 lingotek.views.inc \lingotek_views_data()
Implements hook_views_data().
File
- ./
lingotek.views.inc, line 11 - Lingotek Module + Views
Code
function lingotek_views_data() {
$data['node']['lingotek_workbench_link'] = array(
'group' => 'Lingotek',
'title' => t('Workbench Link'),
'help' => t('Lingotek Integration'),
'real field' => 'nid',
'field' => array(
'help' => t('Provide a link to the Lingotek Workbench so that a user may translate the node.'),
'handler' => 'lingotek_views_handler_workbench_link',
),
);
$data['comments']['lingotek_workbench_link'] = array(
'group' => 'Lingotek',
'title' => t('Workbench Link'),
'help' => t('Lingotek Integration'),
'real field' => 'nid',
'field' => array(
'help' => t('Provide a link to the Lingotek Workbench so that a user may translate the node.'),
'handler' => 'lingotek_views_handler_workbench_link',
),
);
return $data;
}