1
|
<?php
|
2
|
/**
|
3
|
* @file
|
4
|
* This file contains all the views hooks for the appending of a view
|
5
|
* to another view.
|
6
|
*/
|
7
|
|
8
|
/**
|
9
|
* Implementaion of hook_views_data()
|
10
|
*/
|
11
|
function views_append_views_data() {
|
12
|
|
13
|
$data['views_append']['table']['group'] = t('View');
|
14
|
$data['views_append']['table']['join'] = array(
|
15
|
'#global' => array(),
|
16
|
);
|
17
|
|
18
|
$data['views_append']['append'] = array(
|
19
|
'title' => t('Append View'),
|
20
|
'help' => t('Appends a view at this view.'),
|
21
|
'field' => array(
|
22
|
'handler' => 'views_append_handler_append_view',
|
23
|
'click sortable' => FALSE,
|
24
|
'notafield' => TRUE,
|
25
|
),
|
26
|
);
|
27
|
return $data;
|
28
|
}
|