-
Notifications
You must be signed in to change notification settings - Fork 1
/
teaser.ds.inc
68 lines (60 loc) · 1.73 KB
/
teaser.ds.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
* @file
* teaser.ds.inc
*/
/**
* Implements hook_ds_view_modes_info().
*/
function teaser_ds_view_modes_info() {
$export = array();
$ds_view_mode = new stdClass();
$ds_view_mode->api_version = 1;
$ds_view_mode->view_mode = 'teaser_basic';
$ds_view_mode->label = 'Teaser Basic';
$ds_view_mode->entities = array(
'node' => 'node',
);
$export['teaser_basic'] = $ds_view_mode;
$ds_view_mode = new stdClass();
$ds_view_mode->api_version = 1;
$ds_view_mode->view_mode = 'teaser_featured';
$ds_view_mode->label = 'Teaser Featured';
$ds_view_mode->entities = array(
'node' => 'node',
);
$export['teaser_featured'] = $ds_view_mode;
$ds_view_mode = new stdClass();
$ds_view_mode->api_version = 1;
$ds_view_mode->view_mode = 'teaser_featured_extra';
$ds_view_mode->label = 'Teaser Featured Extra';
$ds_view_mode->entities = array(
'node' => 'node',
);
$export['teaser_featured_extra'] = $ds_view_mode;
$ds_view_mode = new stdClass();
$ds_view_mode->api_version = 1;
$ds_view_mode->view_mode = 'teaser_medium';
$ds_view_mode->label = 'Teaser Medium';
$ds_view_mode->entities = array(
'node' => 'node',
);
$export['teaser_medium'] = $ds_view_mode;
$ds_view_mode = new stdClass();
$ds_view_mode->api_version = 1;
$ds_view_mode->view_mode = 'teaser_small';
$ds_view_mode->label = 'Teaser Small';
$ds_view_mode->entities = array(
'node' => 'node',
);
$export['teaser_small'] = $ds_view_mode;
$ds_view_mode = new stdClass();
$ds_view_mode->api_version = 1;
$ds_view_mode->view_mode = 'teaser_tiny';
$ds_view_mode->label = 'Teaser Tiny';
$ds_view_mode->entities = array(
'node' => 'node',
);
$export['teaser_tiny'] = $ds_view_mode;
return $export;
}