1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* colorbox.views.inc
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
/**
|
9 |
|
|
* Implementation of hook_views_data()
|
10 |
|
|
*/
|
11 |
|
|
function colorbox_views_data() {
|
12 |
|
|
|
13 |
|
|
$data['colorbox']['table']['group'] = t('Colorbox');
|
14 |
|
|
|
15 |
|
|
$data['colorbox']['table']['join'] = array(
|
16 |
|
|
'#global' => array(),
|
17 |
|
|
);
|
18 |
|
|
|
19 |
|
|
$data['colorbox']['colorbox'] = array(
|
20 |
|
|
'title' => t('Colorbox trigger'),
|
21 |
|
|
'help' => t('Provide custom text or link.'),
|
22 |
|
|
'field' => array(
|
23 |
|
|
'handler' => 'colorbox_handler_field_colorbox',
|
24 |
|
|
),
|
25 |
|
|
);
|
26 |
|
|
|
27 |
|
|
return $data;
|
28 |
|
|
} |