function colorbox_views_data in Colorbox 6
Same name and namespace in other branches
- 7.2 views/colorbox.views.inc \colorbox_views_data()
- 7 views/colorbox.views.inc \colorbox_views_data()
Implementation of hook_views_data().
File
- views/
colorbox.views.inc, line 11 - colorbox.views.inc
Code
function colorbox_views_data() {
$data['colorbox']['table']['group'] = t('Colorbox');
$data['colorbox']['table']['join'] = array(
'#global' => array(),
);
$data['colorbox']['colorbox'] = array(
'group' => t('Colorbox'),
'field' => array(
'title' => t('Colorbox trigger'),
'help' => t('Provide custom text or link.'),
'handler' => 'colorbox_handler_field_colorbox',
),
);
return $data;
}