views.view.who_s_online.yml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - user
  6. id: who_s_online
  7. label: 'Who''s online block'
  8. module: user
  9. description: 'Shows the user names of the most recently active users, and the total number of active users.'
  10. tag: default
  11. base_table: users_field_data
  12. base_field: uid
  13. core: 8.x
  14. display:
  15. default:
  16. display_plugin: default
  17. id: default
  18. display_title: Master
  19. position: 0
  20. display_options:
  21. access:
  22. type: perm
  23. options:
  24. perm: 'access user profiles'
  25. cache:
  26. type: tag
  27. options: { }
  28. query:
  29. type: views_query
  30. options:
  31. disable_sql_rewrite: false
  32. distinct: false
  33. replica: false
  34. query_comment: ''
  35. query_tags: { }
  36. exposed_form:
  37. type: basic
  38. options:
  39. submit_button: Apply
  40. reset_button: false
  41. reset_button_label: Reset
  42. exposed_sorts_label: 'Sort by'
  43. expose_sort_order: true
  44. sort_asc_label: Asc
  45. sort_desc_label: Desc
  46. pager:
  47. type: some
  48. options:
  49. items_per_page: 10
  50. offset: 0
  51. style:
  52. type: html_list
  53. options:
  54. grouping: { }
  55. row_class: ''
  56. default_row_class: true
  57. type: ul
  58. wrapper_class: item-list
  59. class: ''
  60. row:
  61. type: fields
  62. fields:
  63. name:
  64. id: name
  65. table: users_field_data
  66. field: name
  67. label: ''
  68. plugin_id: field
  69. type: user_name
  70. alter:
  71. alter_text: false
  72. make_link: false
  73. absolute: false
  74. trim: false
  75. word_boundary: false
  76. ellipsis: false
  77. strip_tags: false
  78. html: false
  79. hide_empty: false
  80. empty_zero: false
  81. relationship: none
  82. group_type: group
  83. admin_label: ''
  84. exclude: false
  85. element_type: ''
  86. element_class: ''
  87. element_label_type: ''
  88. element_label_class: ''
  89. element_label_colon: true
  90. element_wrapper_type: ''
  91. element_wrapper_class: ''
  92. element_default_classes: true
  93. empty: ''
  94. hide_alter_empty: true
  95. entity_type: user
  96. entity_field: name
  97. filters:
  98. status:
  99. value: '1'
  100. table: users_field_data
  101. field: status
  102. id: status
  103. expose:
  104. operator: '0'
  105. group: 1
  106. plugin_id: boolean
  107. entity_type: user
  108. entity_field: status
  109. access:
  110. id: access
  111. table: users_field_data
  112. field: access
  113. relationship: none
  114. group_type: group
  115. admin_label: ''
  116. operator: '>='
  117. value:
  118. min: ''
  119. max: ''
  120. value: '-15 minutes'
  121. type: offset
  122. group: 1
  123. exposed: false
  124. expose:
  125. operator_id: access_op
  126. label: 'Last access'
  127. description: 'A user is considered online for this long after they have last viewed a page.'
  128. use_operator: false
  129. operator: access_op
  130. identifier: access
  131. required: false
  132. remember: false
  133. multiple: false
  134. remember_roles:
  135. authenticated: authenticated
  136. anonymous: '0'
  137. administrator: '0'
  138. is_grouped: false
  139. group_info:
  140. label: ''
  141. description: ''
  142. identifier: ''
  143. optional: true
  144. widget: select
  145. multiple: false
  146. remember: false
  147. default_group: All
  148. default_group_multiple: { }
  149. group_items: { }
  150. plugin_id: date
  151. entity_type: user
  152. entity_field: access
  153. sorts:
  154. access:
  155. id: access
  156. table: users_field_data
  157. field: access
  158. order: DESC
  159. relationship: none
  160. group_type: group
  161. admin_label: ''
  162. exposed: false
  163. expose:
  164. label: ''
  165. granularity: second
  166. plugin_id: date
  167. entity_type: user
  168. entity_field: access
  169. title: 'Who''s online'
  170. header:
  171. result:
  172. id: result
  173. table: views
  174. field: result
  175. relationship: none
  176. group_type: group
  177. admin_label: ''
  178. empty: false
  179. content: 'There are currently @total users online.'
  180. plugin_id: result
  181. footer: { }
  182. empty:
  183. area_text_custom:
  184. id: area_text_custom
  185. table: views
  186. field: area_text_custom
  187. relationship: none
  188. group_type: group
  189. admin_label: ''
  190. empty: true
  191. tokenize: false
  192. content: 'There are currently 0 users online.'
  193. plugin_id: text_custom
  194. relationships: { }
  195. arguments: { }
  196. display_extenders: { }
  197. cache_metadata:
  198. contexts:
  199. - 'languages:language_content'
  200. - 'languages:language_interface'
  201. - user.permissions
  202. max-age: -1
  203. tags: { }
  204. who_s_online_block:
  205. display_plugin: block
  206. id: who_s_online_block
  207. display_title: 'Who''s online'
  208. position: 1
  209. display_options:
  210. block_description: 'Who''s online'
  211. display_description: 'A list of users that are currently logged in.'
  212. display_extenders: { }
  213. cache_metadata:
  214. contexts:
  215. - 'languages:language_content'
  216. - 'languages:language_interface'
  217. - user.permissions
  218. max-age: -1
  219. tags: { }