views.view.who_s_online.yml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. field_identifier: access
  108. exposed: false
  109. granularity: second
  110. arguments: { }
  111. filters:
  112. status:
  113. id: status
  114. table: users_field_data
  115. field: status
  116. entity_type: user
  117. entity_field: status
  118. plugin_id: boolean
  119. value: '1'
  120. group: 1
  121. expose:
  122. operator: '0'
  123. operator_limit_selection: false
  124. operator_list: { }
  125. access:
  126. id: access
  127. table: users_field_data
  128. field: access
  129. relationship: none
  130. group_type: group
  131. admin_label: ''
  132. entity_type: user
  133. entity_field: access
  134. plugin_id: date
  135. operator: '>='
  136. value:
  137. min: ''
  138. max: ''
  139. value: '-15 minutes'
  140. type: offset
  141. group: 1
  142. exposed: false
  143. expose:
  144. operator_id: access_op
  145. label: 'Last access'
  146. description: 'A user is considered online for this long after they have last viewed a page.'
  147. use_operator: false
  148. operator: access_op
  149. operator_limit_selection: false
  150. operator_list: { }
  151. identifier: access
  152. required: false
  153. remember: false
  154. multiple: false
  155. remember_roles:
  156. authenticated: authenticated
  157. anonymous: '0'
  158. administrator: '0'
  159. min_placeholder: ''
  160. max_placeholder: ''
  161. placeholder: ''
  162. is_grouped: false
  163. group_info:
  164. label: ''
  165. description: ''
  166. identifier: ''
  167. optional: true
  168. widget: select
  169. multiple: false
  170. remember: false
  171. default_group: All
  172. default_group_multiple: { }
  173. group_items: { }
  174. style:
  175. type: html_list
  176. options:
  177. grouping: { }
  178. row_class: ''
  179. default_row_class: true
  180. type: ul
  181. wrapper_class: item-list
  182. class: ''
  183. row:
  184. type: fields
  185. query:
  186. type: views_query
  187. options:
  188. query_comment: ''
  189. disable_sql_rewrite: false
  190. distinct: false
  191. replica: false
  192. query_tags: { }
  193. relationships: { }
  194. header:
  195. result:
  196. id: result
  197. table: views
  198. field: result
  199. relationship: none
  200. group_type: group
  201. admin_label: ''
  202. plugin_id: result
  203. empty: false
  204. content: 'There are currently @total users online.'
  205. footer: { }
  206. display_extenders: { }
  207. cache_metadata:
  208. max-age: -1
  209. contexts:
  210. - 'languages:language_content'
  211. - 'languages:language_interface'
  212. - user.permissions
  213. tags: { }
  214. who_s_online_block:
  215. id: who_s_online_block
  216. display_title: 'Who''s online'
  217. display_plugin: block
  218. position: 1
  219. display_options:
  220. display_description: 'A list of users that are currently logged in.'
  221. display_extenders: { }
  222. block_description: 'Who''s online'
  223. cache_metadata:
  224. max-age: -1
  225. contexts:
  226. - 'languages:language_content'
  227. - 'languages:language_interface'
  228. - user.permissions
  229. tags: { }