-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviews.view.who_s_online.yml
226 lines (226 loc) · 5.89 KB
/
views.view.who_s_online.yml
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
uuid: 14d90c63-8697-4376-a388-af1274c6114d
langcode: en
status: false
dependencies:
module:
- user
_core:
default_config_hash: t9qu6R6PnnbZNOft0SpIMxwCg6VCfaX3aW2W-NjeFyc
id: who_s_online
label: "Who's online block"
module: user
description: 'Shows the user names of the most recently active users, and the total number of active users.'
tag: default
base_table: users_field_data
base_field: uid
display:
default:
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
title: "Who's online"
fields:
name:
id: name
table: users_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
make_link: false
absolute: false
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
type: user_name
pager:
type: some
options:
offset: 0
items_per_page: 10
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access user profiles'
cache:
type: tag
options: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: 'There are currently 0 users online.'
tokenize: false
sorts:
access:
id: access
table: users_field_data
field: access
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: access
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: access
exposed: false
granularity: second
arguments: { }
filters:
status:
id: status
table: users_field_data
field: status
entity_type: user
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: '0'
operator_limit_selection: false
operator_list: { }
access:
id: access
table: users_field_data
field: access
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: access
plugin_id: date
operator: '>='
value:
min: ''
max: ''
value: '-15 minutes'
type: offset
group: 1
exposed: false
expose:
operator_id: access_op
label: 'Last access'
description: 'A user is considered online for this long after they have last viewed a page.'
use_operator: false
operator: access_op
operator_limit_selection: false
operator_list: { }
identifier: access
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header:
result:
id: result
table: views
field: result
relationship: none
group_type: group
admin_label: ''
plugin_id: result
empty: false
content: 'There are currently @total users online.'
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags: { }
who_s_online_block:
id: who_s_online_block
display_title: "Who's online"
display_plugin: block
position: 1
display_options:
display_description: 'A list of users that are currently logged in.'
display_extenders: { }
block_description: "Who's online"
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags: { }