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