views.view.who_s_online.yml 5.9 KB

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