You are here

views.view.who_s_online.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/user/config/optional/views.view.who_s_online.yml
core/modules/user/config/optional/views.view.who_s_online.yml

File

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