views.view.who_s_online.yml 5.7 KB

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