You are here

views.view.who_s_online.yml in Opigno LMS 3.x

config/optional/views.view.who_s_online.yml

File

config/optional/views.view.who_s_online.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.user.list_item
  6. module:
  7. - user
  8. id: who_s_online
  9. label: 'Who''s online block'
  10. module: user
  11. description: 'Shows the user names of the most recently active users, and the total number of active users.'
  12. tag: default
  13. base_table: users_field_data
  14. base_field: uid
  15. display:
  16. default:
  17. display_plugin: default
  18. id: default
  19. display_title: Master
  20. position: 0
  21. display_options:
  22. access:
  23. type: perm
  24. options:
  25. perm: 'access user profiles'
  26. cache:
  27. type: tag
  28. options: { }
  29. query:
  30. type: views_query
  31. options:
  32. disable_sql_rewrite: false
  33. distinct: false
  34. replica: false
  35. query_comment: ''
  36. query_tags: { }
  37. exposed_form:
  38. type: basic
  39. options:
  40. submit_button: Apply
  41. reset_button: false
  42. reset_button_label: Reset
  43. exposed_sorts_label: 'Sort by'
  44. expose_sort_order: true
  45. sort_asc_label: Asc
  46. sort_desc_label: Desc
  47. pager:
  48. type: some
  49. options:
  50. items_per_page: 10
  51. offset: 0
  52. style:
  53. type: default
  54. options:
  55. grouping: { }
  56. row_class: who-is__item
  57. default_row_class: true
  58. row:
  59. type: 'entity:user'
  60. options:
  61. relationship: none
  62. view_mode: list_item
  63. fields:
  64. name:
  65. id: name
  66. table: users_field_data
  67. field: name
  68. label: ''
  69. plugin_id: field
  70. type: user_name
  71. alter:
  72. alter_text: false
  73. make_link: false
  74. absolute: false
  75. trim: false
  76. word_boundary: false
  77. ellipsis: false
  78. strip_tags: false
  79. html: false
  80. hide_empty: false
  81. empty_zero: false
  82. relationship: none
  83. group_type: group
  84. admin_label: ''
  85. exclude: false
  86. element_type: ''
  87. element_class: ''
  88. element_label_type: ''
  89. element_label_class: ''
  90. element_label_colon: true
  91. element_wrapper_type: ''
  92. element_wrapper_class: ''
  93. element_default_classes: true
  94. empty: ''
  95. hide_alter_empty: true
  96. entity_type: user
  97. entity_field: name
  98. filters:
  99. status:
  100. value: '1'
  101. table: users_field_data
  102. field: status
  103. id: status
  104. expose:
  105. operator: '0'
  106. operator_limit_selection: false
  107. operator_list: { }
  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. operator_limit_selection: false
  142. operator_list: { }
  143. is_grouped: false
  144. group_info:
  145. label: ''
  146. description: ''
  147. identifier: ''
  148. optional: true
  149. widget: select
  150. multiple: false
  151. remember: false
  152. default_group: All
  153. default_group_multiple: { }
  154. group_items: { }
  155. plugin_id: date
  156. entity_type: user
  157. entity_field: access
  158. sorts:
  159. access:
  160. id: access
  161. table: users_field_data
  162. field: access
  163. order: DESC
  164. relationship: none
  165. group_type: group
  166. admin_label: ''
  167. exposed: false
  168. expose:
  169. label: ''
  170. granularity: second
  171. plugin_id: date
  172. entity_type: user
  173. entity_field: access
  174. title: 'Who''s online'
  175. header:
  176. result:
  177. id: result
  178. table: views
  179. field: result
  180. relationship: none
  181. group_type: group
  182. admin_label: ''
  183. empty: false
  184. content: 'There are currently @total users online.'
  185. plugin_id: result
  186. footer: { }
  187. empty:
  188. area_text_custom:
  189. id: area_text_custom
  190. table: views
  191. field: area_text_custom
  192. relationship: none
  193. group_type: group
  194. admin_label: ''
  195. empty: true
  196. tokenize: false
  197. content: 'There are currently 0 users online.'
  198. plugin_id: text_custom
  199. relationships: { }
  200. arguments: { }
  201. display_extenders: { }
  202. css_class: 'content-box who-is who-is__online'
  203. cache_metadata:
  204. contexts:
  205. - 'languages:language_content'
  206. - 'languages:language_interface'
  207. - user.permissions
  208. max-age: -1
  209. tags: { }
  210. who_s_online_block:
  211. display_plugin: block
  212. id: who_s_online_block
  213. display_title: 'Who''s online'
  214. position: 1
  215. display_options:
  216. block_description: 'Who''s online'
  217. display_description: 'A list of users that are currently logged in.'
  218. display_extenders: { }
  219. cache_metadata:
  220. contexts:
  221. - 'languages:language_content'
  222. - 'languages:language_interface'
  223. - user.permissions
  224. max-age: -1
  225. tags: { }