1
|
<?php
|
2
|
/**
|
3
|
* @file
|
4
|
* Views hook implementations
|
5
|
*/
|
6
|
|
7
|
/**
|
8
|
* Implemenation of hook_views_data()
|
9
|
*/
|
10
|
function views_view_field_views_data() {
|
11
|
|
12
|
|
13
|
$data['view']['table']['group'] = t('View');
|
14
|
$data['view']['table']['join'] = array(
|
15
|
'#global' => array(),
|
16
|
);
|
17
|
|
18
|
$data['view']['include'] = array(
|
19
|
'title' => t('Include View'),
|
20
|
'help' => t('Includes a view into this view.'),
|
21
|
'field' => array(
|
22
|
'handler' => 'views_view_field_handler_include_view',
|
23
|
'click sortable' => FALSE,
|
24
|
'notafield' => TRUE,
|
25
|
),
|
26
|
);
|
27
|
return $data;
|
28
|
}
|