-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjournalstream.views_default.inc
executable file
·154 lines (146 loc) · 9.7 KB
/
journalstream.views_default.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?php
/**
* @file
* journalstream.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function journalstream_views_default_views() {
$export = array();
$view = new view();
$view->name = 'journalstream_queue';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'SCF Collections Queue';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Accepted Papers';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
/* Field: Content: Not Reviewed Nodes */
$handler->display->display_options['fields']['field_not_reviewed_nodes']['id'] = 'field_not_reviewed_nodes';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['table'] = 'field_data_field_not_reviewed_nodes';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['field'] = 'field_not_reviewed_nodes';
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Contextual filter: Content: Nid */
$handler->display->display_options['arguments']['nid']['id'] = 'nid';
$handler->display->display_options['arguments']['nid']['table'] = 'node';
$handler->display->display_options['arguments']['nid']['field'] = 'nid';
$handler->display->display_options['arguments']['nid']['default_action'] = 'empty';
$handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['nid']['validate']['type'] = 'node';
$handler->display->display_options['arguments']['nid']['validate_options']['types'] = array(
'topic_queue' => 'topic_queue',
);
$handler->display->display_options['arguments']['nid']['validate_options']['access'] = TRUE;
$handler->display->display_options['arguments']['nid']['validate_options']['access_op'] = 'update';
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 0;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'topic_queue' => 'topic_queue',
);
/* Display: Not Reviewed */
$handler = $view->new_display('block', 'Not Reviewed', 'not_reviewed');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Not Reviewed Papers';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Not Reviewed Nodes */
$handler->display->display_options['fields']['field_not_reviewed_nodes']['id'] = 'field_not_reviewed_nodes';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['table'] = 'field_data_field_not_reviewed_nodes';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['field'] = 'field_not_reviewed_nodes';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['label'] = '';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_not_reviewed_nodes']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['element_wrapper_class'] = 'niddeous-[field_not_reviewed_nodes-nid]';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['type'] = 'node_reference_node';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['settings'] = array(
'node_reference_view_mode' => 'teaser_moderation',
);
$handler->display->display_options['fields']['field_not_reviewed_nodes']['group_rows'] = FALSE;
$handler->display->display_options['fields']['field_not_reviewed_nodes']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_not_reviewed_nodes']['multi_type'] = 'ul';
/* Display: Accepted */
$handler = $view->new_display('block', 'Accepted', 'accepted');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Accepted Papers';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Accepted Nodes */
$handler->display->display_options['fields']['field_accepted_nodes']['id'] = 'field_accepted_nodes';
$handler->display->display_options['fields']['field_accepted_nodes']['table'] = 'field_data_field_accepted_nodes';
$handler->display->display_options['fields']['field_accepted_nodes']['field'] = 'field_accepted_nodes';
$handler->display->display_options['fields']['field_accepted_nodes']['label'] = '';
$handler->display->display_options['fields']['field_accepted_nodes']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_accepted_nodes']['type'] = 'node_reference_node';
$handler->display->display_options['fields']['field_accepted_nodes']['settings'] = array(
'node_reference_view_mode' => 'teaser_moderation',
);
$handler->display->display_options['fields']['field_accepted_nodes']['group_rows'] = FALSE;
$handler->display->display_options['fields']['field_accepted_nodes']['delta_offset'] = '0';
/* Display: Rejected */
$handler = $view->new_display('block', 'Rejected', 'rejected');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Rejected Papers';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Rejected Nodes */
$handler->display->display_options['fields']['field_rejected_nodes']['id'] = 'field_rejected_nodes';
$handler->display->display_options['fields']['field_rejected_nodes']['table'] = 'field_data_field_rejected_nodes';
$handler->display->display_options['fields']['field_rejected_nodes']['field'] = 'field_rejected_nodes';
$handler->display->display_options['fields']['field_rejected_nodes']['label'] = '';
$handler->display->display_options['fields']['field_rejected_nodes']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_rejected_nodes']['type'] = 'node_reference_node';
$handler->display->display_options['fields']['field_rejected_nodes']['settings'] = array(
'node_reference_view_mode' => 'teaser_moderation',
);
$handler->display->display_options['fields']['field_rejected_nodes']['group_rows'] = FALSE;
$handler->display->display_options['fields']['field_rejected_nodes']['delta_offset'] = '0';
/* Display: Preview */
$handler = $view->new_display('block', 'Preview', 'preview');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Preview';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Accepted Nodes */
$handler->display->display_options['fields']['field_accepted_nodes']['id'] = 'field_accepted_nodes';
$handler->display->display_options['fields']['field_accepted_nodes']['table'] = 'field_data_field_accepted_nodes';
$handler->display->display_options['fields']['field_accepted_nodes']['field'] = 'field_accepted_nodes';
$handler->display->display_options['fields']['field_accepted_nodes']['label'] = '';
$handler->display->display_options['fields']['field_accepted_nodes']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_accepted_nodes']['type'] = 'node_reference_node';
$handler->display->display_options['fields']['field_accepted_nodes']['settings'] = array(
'node_reference_view_mode' => 'teaser',
);
$handler->display->display_options['fields']['field_accepted_nodes']['group_rows'] = FALSE;
$handler->display->display_options['fields']['field_accepted_nodes']['delta_offset'] = '0';
$export['journalstream_queue'] = $view;
return $export;
}